Kenyan President Uhuru Kenyatta has signed a long awaited anti-doping bill, a move which will likely help the country avoid sanctions from the World Anti-Doping Agency.

Kenyatta signed the bill into law on Friday, the final step to implementing the legislation after it was passed by lawmakers on Tuesday. Kenya has a final deadline of May 2 to make improvements to its anti-doping program and avoid being declared non-compliant with WADA's global code.

The anti-doping law was the most problematic of the reforms for Kenya, which had already missed two WADA deadlines.

Kenyatta said the law was "the continuation, not the end, of our efforts to stand against cheating and corruption in the sporting and athletics arena."

Since the 2012 London Olympics, 40 Kenyan athletes have been banned for doping.