A man fatally shot at a mobile home park in unincorporated Covina last week was allegedly trying to rob a resident and had shocked him with a Taser when the resident fired a gun in self defense, authorities said.

Richard Alan Wurtz, 37, died at the scene of the shooting, which took place shortly after 11 a.m. at the Royal Palms Mobile Homes Park, 21210 E. Arrow Highway, according to Los Angeles County sheriff’s and coroner’s officials.

He died from multiple gunshot wounds and the death was ruled a homicide, coroner’s Assistant Chief of Operations Ed Winter said.

Deputies responding to the first reports of a shooting found Wurtz fatally wounded outside a mobile home and detained a man who was leaving, sheriff’s officials said in a written statement. Though his name was not released by detectives, neighbors and county booking records identified the man detained by deputies as Steven McCabe, a 31-year-old resident of the mobile home where the shooting took place.

The fatal shooting stemmed from “a dispute over property,” Lt. David Coleman of the Sheriff’s Homicide Bureau said.

Wurtz was acquainted with the resident, and had gone to his mobile home to collect property per a previous agreement, Coleman said. He declined to say what the property was.

“Wurtz came to collect some property that our victim was holding,” Coleman said. But after obtaining the agreed-upon property, “(He) wanted more,” the lieutenant said.

Wurtz then tried to rob McCabe, officials said.

“He Tasered our victim,” Coleman said. “The resident fired in self-defense.”

The investigation was ongoing, he said, and detectives planned to present their findings to the Los Angeles County District Attorney’s Office.

A second person was also detained for questioning near the shooting scene. Detectives eventually determined he was a roommate of the shooter who had no involvement in the incident.

But McCabe was arrested Tuesday on suspicion of a weapons violation unrelated to the fatal shooting, according to sheriff’s officials and county booking records.

He had returned to the scene of the shooting to collect property, prompting someone at the mobile home park to call deputies, Lt. David Vega of the sheriff’s San Dimas Station said.

Deputies responded and discovered that McCabe had a loaded handgun in his car, Vega said. He was arrested on suspicion of keeping a loaded firearm in a vehicle.

McCabe was released from custody pending a court date Wednesday after posting a $35,000 bond, according to booking records.

A phone number listed in connection with McCabe in public records was disconnected.