BANSALEM, PA - A gay teacher at a suburban Philadelphia Catholic high school has been fired after he applied for a New Jersey marriage license.

Michael Griffin was fired from Holy Ghost Preparatory School on Friday after administrators said his obtaining a license to marry his same-sex partner was a violation of the school's teaching terms and Griffin's contract. Griffin had worked at the school for 12 years.

Griffin emailed the principal of the school Friday morning to let him know he might be in late. He was applying for a marriage license.

Griffin was then called into school president Father James McCloskey’s office, along with the principal, Jeffrey Danilak. He was told that if he moved forward with the marriage license, he would be terminated.

Griffin believes the following section of the Teacher’s Code of Conduct lead to his termination:

"That, although, the school welcomes teachers from other denominations and recognizes their rights to religious freedom, as employees of a Catholic institution, all teachers are expected to uphold lifestyles compatible with the moral teaching of the Roman Catholic Church."

A spokesperson says the school has no comment at this time.