Nearly two dozen protesters gathered Saturday outside the Bergen County Jail in Hackensack, demanding that air conditioners that had been malfunctioning for weeks be fixed and warned that the weekend's scorching temperatures create dangerous conditions for inmates.

But while protesters were outside, Bergen County Sheriff Anthony Cureton said Saturday that the air conditioners were all working after two malfunctioned Friday night.

"Inmates/detainees were moved out of the affected areas to a suitable environment,'' he said in a statement. "The units were evaluated and the air conditioning was restored soon thereafter. Random checks are being performed to monitor the jail's climate."

Prior to Friday, the jail had been experiencing air conditioning problems for weeks and maintenance staff was working on installing replacement condensers. All those repairs, Cureton said, have been completed.

The protesters, who stood outside while temperatures were hovering near 90 degrees, carried homemade signs, and chanted "turn off the ovens" and "turn on the air conditioner" in both English and Spanish. The jail houses county inmates, as well as immigration detainees for U.S. Immigration and Customs Enforcement or ICE.

"We found out late last night that it still hadn't been repaired,'' said Nedia Morsy, a community organizer for Make the Road New Jersey. "Bergen County Jail houses immigrant detainees and it's cruel and inhumane that there are still folks inside on the hottest day of the year. There are warnings that people should not be out.....and the AC is still not working inside the Bergen County jail."

The jail has also been under quarantine due to a mumps outbreak. As of Saturday, the quarantine was set to remain in effect until July 29.

WEATHER:Cooling centers designated to combat heat wave

CRIME:Two NYC corrections officers arrested in shooting outside Paterson go-go bar

DISEASE:Bergen County Jail extends quarantine after mumps outbreak

The protesters also focused their action on bringing attention to the plight of Inocencio Roman Solano, a Bronx man who has lived in the United States for more than 20 years, and who is facing deportation to Mexico. He has been held at the Bergen County Jail for about 18 months and has several medical issues. They distributed a picture of Solano at the protest.

One of the man's attorneys, Yasmine Farhang, of Make the Road New York, said Solano has been diagnosed with cirrhosis of the liver, Type 2 diabetes, a severe foot infection, open wounds and other ailments that the heat could exacerbate. She said in recent weeks he has also been vomiting blood.

"His son visited him yesterday afternoon, and his son shared with me that his father was extremely hot, that there was no AC, and that he was feeling more faint,'' Farhang said.

She said Solano has been taken to a local hospital on occasion while detained, but that his treatment has been egregious and violated the minimum standard of care required.

Solano has two minor U.S.-born children and a 24-year old son who is protected from deportation under a program known as DACA or Deferred Action for Childhood Arrivals.

Solano was in removal proceedings and had filed an application for cancellation of removal, based on hardship that would be suffered by his U.S.-born children if he were to be deported, Farhang explained. That case was heard by a judge at the Varick Street Immigration Court in New York and was denied, she said. Solano appealed the case to the Board of Immigration Appeals, but the board also denied that appeal.

Solano has a case pending in the Second Circuit Court of Appeals and his attorneys plan to file a new case presenting new evidence.

The heat doesn't stop the protest

Outside the jail on Saturday, drivers honked their horns in support, while protesters made brief speeches and chanted "Free Inocencio,'' "Inocencio is sick, turn on the air conditioner,'' and "stop the ICE inferno."

As the temperatures rose, some protesters splashed water on their faces and drank from water bottles that were distributed there.

Among those in attendance was Dave Marain, of Fair Lawn, and a member of Indivisible 5th District, a grassroots group who nonviolently resist actions of President Donald Trump and the Republican party.

"We are here to protest the conditions for the undocumented immigrants and detainees at the Bergen County Jail,'' he said. "We've been told that everything has been restored as of last night but we are here to verify that.....this has to stop and we are here to support them."

Members of other organizations were also on hand to lend their voice, including a member from People Power Glen Rock and Ridgewood Jolt.

The Legal Aid Society, Brooklyn Defender Services, and The Bronx Defenders, a group of organizations that provide free legal representation to immigrants through the New York Immigrant Family Unity Project (NYIFUP) released a joint statement on Saturday saying they were alarmed about the air conditioning breakdowns at the jail. The group has been monitoring the situation there for weeks and issuing statements on the air conditioning malfunctions.

“"NYIFUP demands immediate answers from jail officials on the scope of air conditioning outages and what exactly the jail is doing to protect our clients and others from heat-related illnesses.”

The jail has 1,150 beds, and the past year has been housing more detainees for ICE. In recent months, the number of ICE detainees has risen to more than 400 on some days.