The NBA has announced free agent O.J. Mayo has been dismissed and disqualified from the NBA for violating terms of the NBA/NBPA Anti-Drug Program.

Mayo is eligible to apply for reinstatement in two years.

The release didn't specify the type of drug that led to the ban.

Mayo was a free agent after coming off a three-year, $24 million deal with the Milwaukee Bucks in 2013.

Mayo reportedly fractured his ankle in March.