Harrisburg police have charged 19-year-old Shamir Hunter with robbery and homicide in the death of Steve Esworthy last weekend.

Steve Esworthy, the day before he was killed in a robbery.

Police identified Hunter after reviewing video surveillance cameras from midtown neighborhoods near the site of the killing in the 1200 block of Green Street.

Esworthy was clubbed in the back of the head with a piece of wood about 1:30 a.m. Sunday as he walked home from his brother's wedding, where he had served as Best Man. A witness spotted a man rifling through Esworthy's pockets as he lay dying on the ground. Police think the robber zeroed in on Esworthy because Esworthy appeared intoxicated and an easier target.

It appeared to be a crime of opportunity, said police Capt. Gabriel Olivera, so detectives searched for other crimes of opportunities in the area that night.

Detectives found video images of a man matching the killer's description casing vehicles and stealing from a vehicle, Olivera said. Through tips and other evidence they eventually identified the car prowler as Hunter, who lived in uptown Harrisburg.

Police charged Hunter with theft from an automobile Friday night, Olivera said, and began searching for him. They could not find him.

Officer Eric Carter spotted Hunter Saturday walking in the 2100 block of Moore Street, not far from the home he shared with his mother. After interviewing Hunter and collecting other evidence, the district attorney approved charges of robbery and homicide against Hunter, whose previous adult criminal record included a single count of public drunkenness.

This was posted on Shamir Hunter's Facebook page at 3:14 a.m., about 90 minutes after Steve Esworthy's body was found.

Hunter apparently bragged about the robbery on his Facebook page, under the name Shamir Shootfirst Keese, after the killing, police said.

"I just hit a stain," said the post at 3:14 a.m. June 19, using slang for a robbery. Then he added an acronym that meant he thought it was funny.

He also used a derogatory hashtag.

His Facebook page features many shirtless photos, references to gangs, guns and violence and images of him smoking blunts, or marijuana cigarettes. On April 21, the page featured a poster that said, "My old ways starting to come back. That's very dangerous."

His page featured a comment in August 2015 that he had been incarcerated for the previous year, starting when he was 17-years-old. The next month, he lamented that his mother wouldn't pick up her "own son" even though she would drive across the river to pick up a boyfriend.

"Blood is always thicker then water but not in her life," the post said. "It's like me and my little brother don't exist in her world."

That same day, a post mentioned that if police ever came after them, officers would have to take him "down" because he was never going back to jail.

Update: Since this story was published, Facebook has taken down Hunter's Facebook page.