In an effort to avoid being kept out of the Olympic Games in Rio, Kenya’s president Uhuru Kenyatta signed a law on Friday that criminalizes doping in his country. The bill was fast-tracked through parliament by Kenyatta and passed by lawmakers on Tuesday.

“Let me be clear that this law is the continuation, not the end, of our efforts to stand against cheating and corruption in the sporting and athletics arena,” Kenyatta told The Associated Press.

Athletes found guilty of doping will be fined $30,000 and face a three-year prison term.

Kenya, which has come under heavy scrutiny in recent months for its lack of drug testing and corruption within its governing body’s ranks, been facing increasing pressure from the World Anti-Doping Agency to clean up its act and set up a national anti-doping agency, or risk having its athletes banned from international competition.

“Today, I am confident that WADA will look upon the passage of our anti-doping law favorably as a sign of our unwavering commitment to meeting the highest international standards,” Kenyatta said after signing the bill.

RELATED: Kenyan Marathoners Accused of Paying Bribes To Lessen Doping Bans