Guelph police say a situation involving a barricaded man has been resolved.

Police say it started around 4 a.m. when they attempted to pull over a vehicle that didn't have license plates.

They say it sped away and they didn't pursue it but officers later found the vehicle parked at a motel in the area of Woolwich Street and Marilyn Drive.

Police were asking the public to avoid the area as they were monitoring a ‘dynamic situation'.

Police say at the motel a man came out with a knife, then went back inside and locked the door.

After several hours, police say the man came outside at 9 a.m. and surrendered,

He was taken to hospital as a precaution and police are still investigating to determine if the vehicle was stolen.

The man was reportedly wanted by Peel Regional Police for a break and enter.

Police say there was no risk to public safety.