Fire officials in Prince George’s County are investigating fires that broke out overnight in Temple Hills and Mt. Rainier.

The first blaze began shortly before 11 p.m. Thursday at the Huntley Square Apartments in the 3700 block of Huntley Square Drive in Temple Hills.

Officials said the two-alarm blaze ignited in an apartment on the terrace level of the three-story building, trapping four residents.

Firefighters successfully rescued them, but one of the residents — and four firefighters — were burned in the blaze. A fifth firefighter suffered smoke inhalation and exhaustion.

The victims were taken to a local hospital for treatment and are recovering, officials said.

In Mt. Rainier, around 3:30 a.m., a fire broke out in the 3800 block of 34th Street. That fire damaged two businesses, but no injuries were reported, officials said.

The causes of both fires remain under investigation.