The Arcadia Unified School District and the U.S. Department of Education have reached an agreement to end an investigation into allegations of discrimination against a transgender student, officials said Wednesday.

The resolution, which the Arcadia school board passed unanimously Tuesday, closes an investigation by the Department of Education’s Office for Civil Rights into whether the district prohibited a student, who was born female but identifies as a male, from accessing boys restrooms and locker rooms because he is transgender.

The student, who has attended Arcadia schools since kindergarten and is now entering ninth grade, has identified as a boy from a young age, according to the agency. He began the transition to living as a male during fifth grade.

In 2011, the Department of Justice received complaints alleging that during the boy’s sixth and seventh grade years, the district did not allow the student to use boys' restrooms and locker rooms.