Two armed men were arrested after breaking into a Brookhaven apartment early Tuesday, police said.

Tyreun Gaines, 19, and Antione Coon, 30, face home invasion charges, Brookhaven police Officer Carlos Nino said.

About 4:20 a.m., officers responded to a call from a resident in the 1700 block of Briarwood Road.

“It was reported to Brookhaven officers that two armed men entered an apartment with a female victim and her 1-year-old daughter and demanded money,” Nino said. “The first responding officers were able to help the victim escape from the residence along with the victim’s daughter.”

Gaines surrendered after the woman and her daughter were rescued. Coon “refused to surrender” and SWAT officers were called, Nino said.

Coon, who was in a ground unit, tried to tunnel into an upper unit using the air conditioning system, Channel 2 Action News reported. When that didn’t work, he took out a pipe to try to go through a wall under the bathroom sink, according to the television station.

Police busted through a glass window, sent a robot inside and eventually ended the standoff more than three hours after it started.

The downstairs unit was flooded, workers told Channel 2.

Officers arrested Coon without incident, Nino said.

At least a couple dozen officers from different agencies set a staging area in a parking lot near the apartment, according to Channel 2.

The standoff occurred near the back of the apartment complex, away from an area where children were loading a school bus, the television station reported.