Five Janesville men are facing charges in connection with a string of early morning batteries in Madison Sunday, police said.

Madison police said detectives have arrested the men believed to be responsible for violence that took place inside an apartment building on the 400 block of West Gorham Street and later on the sidewalk on the 200 block of West Gilman Street.

Police said the batteries took place at about 1:40 a.m.

At the first scene, five young men were punched and attacked in a hallway following an argument between the attackers and a couple of the victims, according to the release. Later in the morning, around 4:30 a.m., a 22-year-old Madison man was knocked unconscious by someone after the stranger asked to hug the victim’s girlfriend.

The victim refused to let the man hug his girlfriend, so the man punched him, police said. The victim suffered a broken nose and a concussion. In the first set of batteries, two victims suffered facial fractures, according to the release.

Apartment surveillance video shows one of the attackers beating people randomly following an initial disagreement with a couple of residents, police said. The attackers do not live in the building, and may have come from another area to party in Madison.

Police said Kayzon A. Allen, 20; Dustin D. Pippenger, 19; Matthew T. Pippenger, 30; Joseph S. Hart-Reque, 21; and Dalton J. Forrestal, 20; face charges of substantial battery and criminal trespass for the crimes that took place inside the apartment building.

Police said Allen was also arrested on suspicion of the substantial battery on West Gilman Street.

Police said additional tentative charges are likely in the case. In addition to the batteries, the suspects were checking doors inside the apartment building, looking to gain access to apartments that were not secure.

The MPD advised residents to keep doors locked, even when if they're home. Additionally, police asked Madisonians to call the department if there are individuals causing trouble or trespassing in the building instead of confronting individuals.