KENOSHA, Wis. (AP) — A Wisconsin school district has settled a discrimination lawsuit filed by a transgender high school student for $800,000.

The Kenosha Unified School Board voted Tuesday night to settle with Ash Whitaker and end its petition to the U.S. Supreme Court challenging lower court rulings that allowed Whitaker to use the boys’ restrooms at his high school.

Whitaker alleged staff at Tremper High School monitored his use of the bathroom and made him wear a special bracelet to single him out from other students. Whitaker graduated from Tremper in June, but the school district appealed a 7th U.S. Circuit Court of Appeals ruling in his favor.

The Kenosha News reports Whitaker expressed relief that the case is over.