Fredericksburg police arrested a 50-year-old man after he shot his neighbor and barricaded himself in an apartment for six hours, authorities said Friday.

Police said charges were pending against Michael Allen Bailey of Fredericksburg.

The incident began just before 9 p.m. Thursday in the 2300 block of Cowan Boulevard. When police arrived, a 52-year-old man was suffering from gunshot wounds to his shoulder and back outside of his apartment. He was taken to an area hospital.

Bailey and the victim had known each other for about a year and a half and had many prior disputes, according to police. Bailey has a tattoo of an eagle and feathers on his forehead.

After shooting the victim, police said, Bailey went back to his own apartment, where they said he was seen holding a gun and breaking the windows of his home. Authorities said Bailey fired his weapon several more times inside and outside of his home, as police tactical teams set up in the apartment complex. One Fredericksburg officer returned fire.

Police said Michael Bailey shot his neighbor then retreated to his apartment for six hours. (Fredericksburg Police Department)

Six hours after the initial shooting, Bailey walked out of his apartment and surrendered to police. He was taken to an area hospital for minor injuries from the incident.

Police said the investigation is ongoing and the extent of Bailey’s injuries was not yet known.