A Buffalo man who got pulled over Monday morning for an equipment violation, put in the back of a patrol car and then let go, ended up getting arrested later anyway.

Officers reported that the man left a baggie in the back of the patrol car that contained crack cocaine.

Police pulled over Bruce C. McNeil at about 5 a.m. near Broadway and Monroe Street because one of his license plate lamps was out, according to a city police report.

McNeil, 40, of Goodyear Avenue, told officers he had recently smoked marijuana and had a blunt in the center ashtray of his 2007 Toyota Sequoia.

He was put in the patrol car but later released and told to fix the license plate lamp, according to the report.

After McNeil drove away, officers noticed the baggie. McNeil came to the Central District station on East Ferry Street and was placed under arrest, according to the report. He was charged with fifth-degree criminal possession of a controlled substance.