A fire at a Massachusetts hospital's electrical transformer forced an undetermined number of evacuations on Tuesday morning and power was shut off to the building for safety reasons, officials said.

"We are removing some critically ill and injured patients" out of Signature Healthcare Brockton Hospital to other facilities, Brockton Fire Chief Brian Nardelli said at a news conference.

He said the fire was mostly extinguished.

JAILED MASSACHUSETTS TRIBAL LEADER OWES $210K IN DAMAGES, JUDGE RULES

Patient brought into ambulance

A patient is placed into an ambulance while being evacuated from Signature Healthcare Brockton Hospital, in Massachusetts, on Feb. 7, 2023, The hospital had to be partially evacuated after a fire broke out at its electrical transformer. (AP Photo/Steven Senne)

There were no injuries reported in the fire, which started before 9 a.m. Temperatures were in the high 20s.

MASSACHUSETTS POLICE FATALLY SHOOT WOMAN AFTER HER FAMILY REQUESTED A WELLNESS CHECK

Nardelli said the hospital's emergency generator, which was supplying power to the building, had to be shut off so the fire could be put out.

Nardelli said at the time the fire started, hospital personnel said they had 187 patients, "but people have been discharged in and out, so we don't have that exact number right now."

CLICK HERE TO GET THE FOX NEWS APP

Signature Healthcare is a 216-bed hospital. Brockton is about 25 miles south of Boston.