A Bronx assistant principal has been booted from his post for traveling to a Queens school allegedly to have sex with the principal there — as sexts between the pair surfaced Tuesday.

Dany Velazquez, an assistant principal at PS 5, has been reassigned pending a city Education Department probe into his alleged sexcapades with Annie Schmutz Seifullah, which were first reported by The Post.

Seifullah, principal of the Robert Wagner Secondary School of Arts and Technology in Long Island City, had already been reassigned amid the shocking allegations that she had sex with two men, including Velazquez, at her school during class hours.

Seifullah’s ex-boyfriend, the dad of a student at her school, described for The Post alleged raunchy texts between Seifullah and Velazquez, including one in which he wrote, “Next time I want to f–k you in the office.”

Seifullah allegedly responded, “First you have to ,” the ex said.

But Seifullah flatly denied the allegations, telling The Post on Tuesday that she never had sex inside the school and is simply the victim of her ex, who used her money and then exposed her kinky hobbies when she quit paying his way.

The Queens principal said her jilted ex-lover was trying to produce a reality show about his life.

“I thought he loved me and that he was protecting me,” Seifullah said in the Manhattan office of lawyer Peter Gleason.

“The reality is that I was played for a fool.”

Seifullah said her ex lied about her having sex at school.

Seifullah said he hacked into her computers and cellphones to stir up drama as part of a $60,000 development deal he supposedly had with Bravo.

But when he allegedly found text messages between Seifullah and Velazquez that suggested they had sex at her school — along with pictures of her engaged in sex acts — she says her ex threatened to expose her.

She wound up giving him $18,000 to pay for rent and child support for his kids, she said.

“I considered going to authorities and lawyers about everything, but I was just so afraid of all the threats he made against me and how it would ruin my life and ruin the life of everyone that I knew if I didn’t keep supporting him,” she said.

Seifullah said when she finally ended the relationship, the scorned ex approached investigators with lewd photos and text messages he allegedly found on Seif­ullah’s Department of Education-issued cellphones and laptops, claiming she got down and dirty at the school.

The ex also turned over audio and video in which a woman, identified as Seifullah, allegedly admitted to engaging in oral sex with an NYPD school safety agent and Velazquez in a book storage room during school hours.

She said she was forced to say those things, which she claimed never really happened.

Seifullah is estranged from her husband. She said Velazquez isn’t married.