Lawyers for NBA player Damon Stoudamire and Pima County have reached an agreement to resolve his long-standing marijuana possession case.

Stoudamire, a former University of Arizona star who now plays for the Memphis Grizzlies, has been fighting misdemeanor charges of possession of marijuana and drug paraphernalia since July 2003.

He was arrested after a foil packet containing a half-ounce of marijuana allegedly fell from his pants while he was going through security at Tucson's airport.

Deputy Pima County Attorney Bruce Chalk said the case will be dismissed if Stoudamire provides proof of two more drug-free urine tests over the next six months, avoids any criminal convictions and reports any subsequent arrests immediately.

Stoudamire already has completed a drug treatment program and has volunteered to give $45,000 in scholarships for needy or at-risk children for basketball camps run by University of Arizona coaches Lute Olson and Joan Bonvicini.

The judge would rule on Stoudamire's guilt or innocence if the conditions are not met, Chalk said. He could face up to a $2,500 fine and three years' probation if he doesn't meet the terms.