YAKIMA, Wash. — A traffic stop by a Yakima police officer led to a sentence of more than 41/2 years in prison for a convicted felon.

The judgment against Salomon Mejia Preciado, 31, was entered Thursday in U.S. District Court in Yakima following a sentencing hearing last week.

Mejia Preciado pleaded guilty to being a felon in possession of a firearm.

He was given 47 months — nearly four years — for that offense, plus another nine months for violating his conditions of release.

At the time of the April 29, 2013, traffic stop, he was on parole from a drug-related conviction in 2005, according to a news release from the U.S. Attorney’s Office in Spokane.

His latest arrest was prompted by the officer’s observation of suspected stolen property in the vehicle that Mejia Preciado was driving, according to the news release. Several stolen items, including a Glock handgun, were found in the vehicle during execution of a search warrant, authorities said.