A transgender Allen High School senior has won his fight to have the name his friends, family and teachers call him read at his graduation ceremony Friday.

The student, 18, came out as transgender as a freshman and has been Jay Alfie since. Until Tuesday, he wasn't certain that was how the district officials would recognize him when he is handed his diploma because that is not his legal name.

Allen High School policy is to use a student's legal names in formal situations, including school IDs, class rosters, diplomas and, until now, graduation ceremony announcements.

Alfie's effort to legally change his name will not be completed before Friday's event.

Jay Alfie poses at his senior prom. (Jay Alfie )

School officials said Tuesday that after meeting with Alfie and his parents, they had decided to make an exception for the student because of circumstances "beyond the family's control," Allen ISD Superintendent Scott Niven said in a prepared statement.

Alfie has filed paperwork in his native Mexico to officially change his name and gender.

He said that other trans students who had legally changed their names didn't have to work with the school the same way he has had to.

Alfie and his parents have been discussing the matter with school officials for months, he said.

"It [was] starting to become such a huge mess that shouldn't have been created," Alfie said. "It's such a simple thing."

An online petition that his sister Isabella started had more than 5,000 signatures, including many from his classmates, urging the school to announce him as Jay Alfie at graduation rather than what he was called before his transition.

Alfie said he hoped to end his high school career on a positive note.

"It started just as something personal," Alfie said. "But I don't want anybody else to have to deal with this stress."