A man wanted on a Canada-wide warrant alleging possession of child pornography has been arrested after officers stopped him for a traffic violation.

RCMP arrested the 29-year-old Surrey man after he was stopped in Richmond on Friday. He will be taken to Calgary to face the charges.

Cpl. Stephanie Ashton says officers often do background checks on people who are stopped for traffic violations.

Insp. Randall Marquardt says the man was not being targeted by officers, and the arrest was a lucky break.