The ex-husband of an NYC teacher accused of having an affair with her principal had six gunshots fired at his Staten Island home three days after The Post broke the scandal, officials confirmed.

The NYPD is investigating the terrifying attack — captured on video — at the Great Kills home of Nicholas Sinodinos, 28, while he was snoozing with his fiancée.

“My life’s been pretty much upside down since then,” he told The Post.

Detectives looked for a link to Sinodinos’ ex-wife Jacqueline, 28, a teacher at PS 21 in Staten Island’s North Shore. Her romantic relationship with Principal Anthony Cosentino was exposed by the Special Commissioner of Investigation for city schools as improper, The Post reported.

Nicholas Sinodinos, an engineer for NYC Health+Hospitals, said his ex-wife and her fu

See Full Page