ABC News February 7, 2019

Federal probe ordered into 'inhumane' conditions at New York lockup

WATCH: Feds to investigate troubled New York detention center

A federal investigation has been launched into why inmates at a New York detention center were left to endure days of bone-chilling weather following a fire that knocked out electricity -- conditions Gov. Andrew Cuomo said appeared to violate the civil rights of those incarcerated.

The Department of Justice ordered the Office of Inspector General to investigate the troubling conditions at the Metropolitan Detention Center in Brooklyn that prompted a lawsuit and protests by relatives of inmates.

"The Department of Justice and the Federal Bureau of Prisons are committed to the safe and humane living and working conditions of all inmates and employees," DOJ officials said in a statement.

The Office of Inspector General has been asked to review the circumstances and determine if the Bureau of Prisons, which runs the waterfront facility, responded appropriately when a Jan. 27 electrical fire at the center knocked out power for a week.

Power at the center, which houses about 1,600 inmates awaiting trials, wasn't restored until Sunday evening.

The DOJ statement, released late Wednesday, says the Inspector General will also review whether the Bureau of Prisons "has in place adequate contingency plans for such an incident."

Brendan McDermid/Reuters, FILE
A New York City Police van sits outside the Brooklyn Metropolitan Detention Center in the Brooklyn borough of New York, Feb. 4, 2019.

"DOJ and BOP will continue to work to ensure that MDC Brooklyn meets all required standards," the statement reads.

A federal lawsuit filed Monday on behalf of the Federal Defenders, lawyers who represent inmates locked up at the facility, alleges that the response to the deteriorating conditions at the center was "woefully inadequate."

(MORE: Bomb threat at New York federal detention center where inmates were left with no heat)

The lawsuit asked the federal court to restore inmates' "constitutional rights, including their access to legal counsel."

The lawsuit claims that during the power failure hundreds of inmates were locked into darkened cells, subjected to frigid temperatures for days and denied hot water and critical medical care.

Go Nakamura/Reuters, FILE
Protesters attend a rally at Metropolitan Detention Center demanding that heat is restored for the inmates in the Brooklyn borough of New York, Feb. 2, 2019.
(MORE: Correctional officers could be compromised, prison services shut off as government shutdown drags on)

"The conditions at the MDC and the behavior of the officials in charge are disgraceful and inhumane and represent wholesale violations of our clients' constitutional rights," Dave Patton, executive director and attorney-in-chief of the Federal Defenders, said in a statement.

Gov. Cuomo called on the Department of Justice to investigate why inmates were kept in unheated cells during a polar vortex that hit the city last week, sending temperatures plummeting to as low as 2 degrees.

(MORE: Correctional officers at supermax prisons guard the most dangerous inmates and aren't getting paid)

"We have said to the Justice Department it's an outrage," Cuomo said during a news conference on Monday. "It violates the civil rights and civil liberties of the people who are incarcerated. Just because you are incarcerated doesn't mean you give up your civil rights and civil liberties."