A Colorado man was arrested for allegedly killing a thief after he caught the man trying to break into his truck.

Brice Fitch, 24, told police the incident unfolded when he caught a trio attempting to carjack his vehicle around 4 a.m. Friday outside his Denver home, news station KDVR reported.

The truck owner allegedly went to grab his AR-15 then confronted the would-be car thieves as they attempted to flee in a vehicle.

Fitch claimed he was knocked over as the car made a getaway, causing his gun to accidentally fire, according to police.

“The victim observed the driver reached for the console area and drive off, [swerving] in the direction of him and the gun went off,” the police report obtained by KDVR said.

He reported the attempted robbery to police and was treated for minor injuries at a hospital, according to the news station.

Nine hours later, a body was discovered with gunshot wounds in a sedan parked five miles away from Fitch’s residence, officials said.

The vehicle reportedly matched the description of the getaway car Fitch provided — and police arrested him Saturday in connection with the unidentified man’s homicide, KDVR reported.

“Detectives are working to understand the details of the interaction between the owner of the vehicle and the deceased, but have learned the owner discharged a weapon multiple times during the incident,” police said in a release.

Fitch is being held at the Downtown Detention Center on first-degree murder charges without bond, according to court records.

“It doesn’t matter if it’s your stereo, your car – you can’t kill someone to prevent them from stealing something that belongs to you,” legal expert Scott Robinson told KDVR.