BELOIT, Wis. -

A tactical standoff at a Beloit home has ended with two men in the residence being detained, police said.

Beloit police Capt. William Tyler said there was a report of an attempted armed robbery in the 900 block of 10th Street before 11 p.m. Tuesday.

Beloit police Capt. Dan Risse said a man was found with a head wound. The man had been pistol whipped following an argument earlier.

Police searched for a suspect until about 4:30 a.m. Wednesday, when officers centered their search at a house on the 1900 block of McKinley Avenue.

Tyler said police tried to make an arrest but the suspect, who was armed, refused to come out. Police negotiators and a tactical team were called to the scene at about 6 a.m. At 7:30 a.m. Charreese Long, 22, and Arsheal Gill, 19, both from Beloit, surrendered and were detained, Risse said.

Long was arrested on a tentative armed robbery charge and for a probation violation. Gill was arrested on a tentative armed robbery charge and on a disorderly conduct warrant.

There were two women, Erica Martin, 21, from Roscoe, and Dakota Stevenson, 19, from Beloit, and a child in the home at the time.

Martin and Stevenson were arrested on tentative charges of party to the crime of armed robbery, police said.

Risse said the incident stemmed from an argument between a man and three women Tuesday night.

Police had blocked off McKinley Street on the city's west side between Burton and Newark due to the situation. At 8:51 a.m., police said McKinley Avenue was reopened.

As part of the investigation, police executed a search warrant at the address on McKinley Avenue and found a small amount of suspected illegal narcotics and a handgun.

The man who was found injured on 10th Street was treated at Beloit Memorial Hospital and released, according to the report.