Nick Kyrgios has accepted a one-month ban for cocaine use and completed a treatment program, clearing the way for the Australian to return to competitive tennis, the International Tennis Integrity Agency said Friday.

Kyrgios, who reached the Wimbledon final in 2022, tested positive for cocaine during an ATP event in Mallorca on June 22.

The 31-year-old was provisionally suspended by the ITIA on Aug. 4 and acknowledged at the time that he had made “a huge mistake.”

According to the ITIA, Kyrgios told investigators that he had used cocaine socially during a night out shortly before competing in Mallorca.

The agency consulted an independent scientific expert at a World Anti-Doping Agency-accredited laboratory, who determined that Kyrgios’ account was consistent with the concentration of cocaine detected in his sample.