PITTSBURGH – A McKeesport teacher fired for having sex in her classroom during school with the union president was rehired this week following a nine-year legal saga with the district.

School officials fired Angela DiBattista in February 2011 after she testified during a district proceeding that she had sex years earlier with Patrick Collins – a former teachers union president – at Cornell Intermediate School while two of their colleagues served as lookouts, the Pittsburgh Post-Gazette reports.

DiBattista, who was initially suspended without pay in January 2006, has been working as a dog groomer since her termination, while Collins was granted retirement from the district and a $58,000 settlement for his misdeeds, according to the news site.

MORE NEWS: Know These Before Moving From Cyprus To The UK

DiBattista appealed her termination and judges ruled last August that her testimony against Collins should have been viewed as an “implied agreement” granting her immunity from her statements, although the court didn’t explicitly rule the district must rehire her.

And they didn’t.

The McKeesport Area School District appealed the ruling, and the state’s Supreme Court rejected the case in March. School officials and DiBattista’s attorney then negotiated her return this summer while she updated her teaching certificate, which had expired.

This week, DiBattista was back in action as a Title I math specialist at Founders’ Hall Annex, according to the Post-Gazette.

Now, the teacher’s lawyer, Phillip Fabiano, is seeking compensation for back pay and benefits spanning the nine years DiBattista was away from the district.

“From my perspective, I think this is just a simple math question,” Fabiano told the news site. “You get a calculator, multiply how much she was making annually by nine and count it out.”

MORE NEWS: How to prepare for face-to-face classes

School officials, meanwhile, won’t discuss the case “and refused to provide her salary” to the Post-Gazette.

“The court didn’t tell her she had to go back to school and go back to that job,” Fabiano said. “She wants to, even though she’s going to be in school with people who said all these horrible things about her.”

It’s difficult to determine which element of this torrid tale is the most disturbing.

Not only did Collins get away with his inappropriate behavior, school officials squandered $58,000 on a settlement to shoo him out the door. On top of that, district officials treated DiBattista entirely different, which only leaves the public to assume union officials receive special treatment in McKeesport.

And what about the two teachers who enabled this sex romp?

Of course, district parents and taxpayers should be demanding answers, but that doesn’t seem to be the case.

“It shouldn’t have been during school hours,” parent Antonia Howze told the Post-Gazette. “However, teachers’ personal lives are not parents’ business.

“Everyone deserves a second chance.”