A Loganville man was charged with murder after a deadly shooting in Alabama on Sunday, authorities said.

Quayshon Frazier Hardy Jr., 21, was charged in connection with the death of 22-year-old Jessie James Felts Jr. during an attempted robbery, police told The Associated Press.

Police said Hardy and Felts broke into a home near Alabama’s Governor’s Mansion, and they exchanged gunfire with someone in the house, The AP reported. All three people were wounded, with the victim in the robbery shooting Felts.

Felts died later at the hospital.

Even though police believe someone else fired the fatal shot, Hardy is being charged with Felts' slaying, The AP reported. According to Alabama law, a suspect can be charged with murder if "another participant" dies during the commission of select felonies, which includes robbery in any degree.

Georgia law is similar, stating that a person can be charged with murder if, during the commission of a felony, he or she "causes the death of another human being irrespective of malice."

Hardy remains in the Montgomery County Jail on a $150,000 bond, according to jail records.

In other news:

The gunfire erupted around 11 p.m. Friday night at the home along Satellite Boulevard in Ellenwood.