The so-called “pooperintendent” of Kenilworth Public Schools will get payout worth more than $100,000 following his May arrest for repeatedly popping a squat in Holmdel High School’s football field and track.

Thomas Tramaglini, 42, put the school board in a crappy position when he was busted my Holmdel Police in May for repeatedly pooping on high school property, not far from portable toilets on campus.

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

Holmdel High employees set up surveillance in the area after weeks of finding feces “on a daily basis,” and police arrested Tramaglini around 5:50 a.m., after his morning run on the school’s track, NJ.com reports.

He was charged with lewdness, littering, and defecating in public, and his case is now pending in Holmdel municipal court. But a new separation agreement approved by the Kenilworth school board in July will officially sever ties with the poopertintendent, who is set to receive well over $100,000 to go away, according to the New York Post.

NJ.com reports:

With a salary of $147,500 under a contract that originally ran from Jan. 11, 2016, to July 1, 2020, keeping Tramaglini on full pay for the five months following his suspension up through his September resignation date will cost the district $61,458. Including his vacation and severance pay puts the total at $109,868.

And while the agreement does not specify how much Tramaglini will receive for unused sick days, or the number of days he accrued, it does state that the district will honor the terms of Tramaglni’s original contract, which calls for reimbursement of $682 per unused sick day.

The news site estimates Tramaglini will walk away with an additional $23,827 payout for the unused vacation days. Director of Academics, Brian Lucianai, has taken over for Tramaglini, who has also worked as a part-time lecturer at Rutgers, and in other New Jersey school districts.

And while the school district is through with Tramaglini, the pooperintendent isn’t exactly hiding in shame.

Tramaglini filed what’s called a notice of tort claim against Holmdel Police Department outlining his intent to sue police for releasing his mugshot to the public. Police records are considered public information in virtually every state.

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

“On May 1, 2018, officers or agents of the Holmdel Police Department unlawfully took Dr. Tramaglini’s photograph and distributed and disseminated the ‘mug shot’ to third parties, including the media with the intent to harm Dr. Tramaglini,” the court filing read, according to NJ.com.

The claim lists a potential of more than $1 million in damages from lost income, harm to his reputation, emotional distress, and invasion of privacy.

“It is our position that the photograph that has been widely disseminated was unlawfully taken and maliciously distributed,” Tramaglini’s attorney, Matthew Adams, told the news site. “It’s like getting photographed and fingerprinted for a speeding ticket.”