A group of would-be home invaders were fended off by a resident wielding a baseball bat Tuesday morning, Cobb County police said.

Police later arrested five men, charging them with with armed robbery, aggravated assault and burglary.

Imanuel Blair Tyler, 20, of College Park; Victor Lopez, 19, of Lithia Springs; Devante Brown, 21, of College Park; Ricky Carrasquillo, 17, of Kennesaw; and 17-year-old Terrone Mays were arrested Tuesday morning, authorities said.

Police were called to a home in the 2400 block of Doubletree Drive near Acworth after a neighbor reported suspicious activity, Cobb police Sgt. Dana Pierce said.

Officers arrived to find two of the alleged intruders injured, police said.

Pierce said at least one of the people inside the home hit the intruders with a baseball bat.

“I don’t know how many victims were in the house, but they are the ones that administered blunt force trauma” to the would-be burglars, Pierce told The Atlanta Journal-Constitution.

The home invasion victims were not identified by police.

One of the two injured suspects had to be hospitalized, police said.

Two more suspects were arrested a short distance from the house, and the fifth suspect later was caught, police said.

They are all being held at the Cobb County Adult Detention Center, authorities said.