FARMINGTON, Mo. • A man from Farmington, angry about a vehicle he lent someone, drove up next to a man on a street Thursday night and fatally shot him with a rifle at close range, police said.

An hour later, the gunman, hiding from police in a storage shed, killed himself as officers closed in, Farmington Police Chief Rick Baker said.

Baker told the Post-Dispatch on Friday morning that the murder-suicide Thursday night stemmed from an apparent dispute over a vehicle.

The victim is identified as Shane M. Littlejohn, 39. The suspect who then killed himself is identified as Justin Kyle Brooks, 35, of Farmington.

Baker said investigators learned that Brooks had lent a vehicle to Littlejohn. Brooks was angry that either the vehicle hadn’t been returned or that Brooks found the vehicle but it was damaged.

About 8:30 p.m. Thursday, Brooks drove up to Littlejohn while Littlejohn was working on a car on the street, at 201 South Washington Street in Farmington, Baker said.

Brooks was driving an orange Dodge Neon. He stayed in the car while he confronted Littlejohn, the chief said.