Police in Halifax have charged a man in connection to the death of 32-year-old Shawn Andrew Mead.

Halifax Regional Police and Halifax District RCMP announced this morning that 23-year-old Russell Matthew Beaver of Halifax has been charged with second-degree murder in Mead's death.

Police said today Mead died of gunshot wounds on June 5, although his body wasn't discovered until June 27. Officers confirmed the shooting was not a random incident and that Beaver and Mead knew one another.

"Regardless, violent incidents, particularly those involving firearms, impact the sense of well-being in a community, and we hope this will help bring a sense of security to people living in the north end of Halifax," said Det. Sgt. Richard Lane. "We also hope the laying of charges will bring some sense of closure to Shawn Mead's family."

Beaver was arrested at a Clayton Park residence around 9 a.m. Wednesday morning. Police say investigators questioned him throughout the day and he was remanded into custody Wednesday night.

A neighbour discovered Mead's body in his Bilby Street apartment shortly before 2:30 p.m. on June 27. The man, who asked only to be identified as "Rick," told CTV News back in June that he felt something was wrong when he noticed hundreds of flies buzzing around the windows of the victim's flat one night.

"There was that many flies in there, it looked like a horror movie," he said at the time.

He decided to walk up the flight of outside stairs to the Mead's residence to check on him the next day. That's when he discovered Mead's body.

"As I got to the top of the stairwell, I could see his feet sticking out," he said back in June. "There was blood from one end of the place to the other in the kitchen."

Many of Mead's neighbours said they didn't even know his name, and one described him as a "loner."

Police quickly determined the murder had occurred three to four weeks earlier, and they appealed to the public for help in solving the case. Insp. Ken Goodine said today that several people came forward with valuable information, which led to Beaver's arrest.

"The information they provided was essential to the laying of charges and also helped investigators to determine that the offence took place on June 5," said Goodine.

Beaver is scheduled to appear in Halifax Provincial Court today to face a charge of second-degree murder.