An Ottawa police officer who walked into a Centretown convenience store during a robbery later found the suspect counting the stolen cash down the street.

Police say a suspect entered a store on Elgin Street Thursday evening with an imitation gun and demanded cash from the clerk.

“As the clerk gave the suspect money, the police officer walked into the store,” Ottawa police said on Twitter.

When the suspect walked out of the store, the clerk told the officer about the robbery.

“The constable chased the man down the street and found him counting the stolen money,” police said.

The suspect is facing charges.