A man is in hospital following an hours-long police incident that unfolded at a home in Port Moody, B.C. Friday morning.

Police said a distraught man locked himself inside a home on Aspenwood Drive around dawn, and that officers had reason to believe he might have been carrying gun.

The man called 911 on his own, triggering a large police presence in the quiet residential neighbourhood that included an Emergency Response Team.

"Unfortunately, when there's concerns of a weapon being involved, we have to take all necessary precautions to ensure the safety of everybody involved. That's why the situation turned out the way it did," Sgt. Travis Carroll said.

The man was eventually taken into police custody then transported to hospital by ambulance. Police would not comment on why he was hospitalized.

Carroll said officers found a firearm in the home, but that the public was never at risk.

"We've taken some significant steps this morning just to ensure the public was not at risk," he said.