A landlord, property manager and contractor were arrested Tuesday for driving a rent-stabilized family out of their Manhattan apartment through threats and highly dangerous demolition work, officials said.

“These defendants are charged with turning an East Harlem apartment building into a deathtrap,” said DA Cy Vance Jr. at a press conference announcing criminal charges against landlord Ephraim Vashovsky, 48, property manager Adam Cohen, 32, and contractor Shaoul Ohana, 56.

“They forced a family with five young children to endure life-threatening conditions on some of winter’s coldest nights.”

Vashovsky bought the fifth-floor walkup at 21 East 115th St. in May 2014 and almost immediately launched a campaign of harassment against the tenants, authorities said.

A man identifying himself only as Sean, who claimed to represent the owner, showed up late at night and allegedly banged on the family’s door, threatening to report their illegal immigration status if they refused to move out, Vance said.

The family didn’t budge and Ohana allegedly started a massive renovation in January 2015 removing walls and floors, load-bearing supports and fire escapes while the building was still occupied, according to a statement from the Manhattan DA’s office.

“This was systematic demolition of the inside of the building down to the studs and the bones,” said Vance. “The defendants tore up all flooring…leaving gaping holes behind unlocked doors that children could easily have fallen through.”

The children, who ranged in age from one to 12, could have been seriously injured, he said.

The tenants often endured freezing temperatures with no heat, hot water or electricity in a building dangerously close to collapsing, said Department of Investigation Commissioner Mark Peters.

Water leaked into the apartment during a winter where temperatures dropped as low as 10 degrees below zero and ice encased the fridge and countertops, official said. The family was forced to use a toilet that had turned into a solid block of ice.

Vashovsky and Cohen also allegedly submitted falsified documents to the DOB claiming the building was unoccupied while at the same time suing the family for eviction in housing court, the DA’s office said.

After the family was relocated, Vashovsky continued to cash rent-subsidy checks from the city, court papers allege.

The DOB issued a Stop Work Order in March and boarded up the building.

New York City Public Advocate Letitia James called Vashovsky one of the city’s worst landlords.

The defendants were hauled into Manhattan Supreme Court Tuesday and pleaded not guilty to reckless endangerment, endangering the welfare of a child and other raps. Vashovsky and Cohen are also charged with coercion, grand larceny and conspiracy.

Justice Edward McLaughlin set bail of $1.25 million for Vashovsky and Cohen and $450,000 for Ohana.

Each of the defendants face a maximum of 2 ¹/₃ to 7 years on the top count.