The principal of a Brooklyn high school where out-of-control kids threatened and injured staffers has been removed, The Post has learned.

Sybil Girard, interim acting head of It Takes a Village Academy in Flatbush, will not return in September, but will start a new job as an assistant principal — with lesser pay — at a school nearby, the city Department of Education confirmed.

“Everyone is so relieved,” said a teacher at ITAVA. “There are tears of joy, literally, among the remaining staff. A lot of good people have left because of her.”

Girard is now under investigation for allegedly firing five teachers who openly wrote letters of complaints, the DOE confirmed.

Among horrific incidents at the school, which reeked of pot, one teacher found a note warning, “I KNOW WHERE YOU LIVE BITCH!” with her home address obtained by a kid who gained access to an office computer.

A school safety agent trying to break up a fight fell and broke his arm. A pregnant paraprofessional who asked a student not to shove her was told by the girl: ‘I will f–k you up.”

Besides safety concerns, teachers said Girard let the once highly regarded school slide academically.

The school’s robotics team fell by the wayside. Teachers who left were not replaced. Not a single student graduated this year with an advanced Regents diploma, because the required courses in math, science and Spanish were dropped.

In June, the frustrated faculty took a vote of no-confidence in Girard, with 48 of 63 staffers approving it.

Girard, who was never made permanent because of ongoing probes, reverted back to assistant principal, her salary dropping from $164,196 to $138,518. She will join the Academy for College Preparation and Career Exploration, officials said.

Angelo Marra, who was assigned to supervise Girard, will serve as acting principal — a move that pleased the staff, a teacher said.

Teachers praised Executive Superintendent Barbara Freeman for finally removing Girard after letters to Brooklyn South high school superintendent Michael Prayor, begging for intervention, went nowhere.

DOE spokesman Will Mantell said, “We thank Sybil Girard for her service at It Takes A Village Academy, and the Superintendent and Acting Principal Angelo Marra will ensure a smooth transition and strong start to the school year. We’ll work closely with the community as we identify a new permanent leader of the school.”