A police operation has ended at a motel on boulevard Gréber, police in Gatineau, Que., said Thursday.

At about 9 a.m., officers were called to Motel Ritz near rue Pointe-Gatineau for a report of a theft, and learned that a weapon might be in one of the rooms, Gatineau police said in a media release.

A security perimeter was established and about a dozen tactical officers were stationed outside.

Police checked the building to find out if there was a weapon, and whether someone was with it.

Officers eventually found an imitation firearm in one of the motel rooms, but police don't believe it was used in the commission of a crime.

During the operation police found a suspect vehicle at a nearby McDonald's, and the man inside was arrested without incident at about 12:30 p.m. He's facing a charge of theft under $5,000.