RCMP are thanking the Winnipeg Police Service for a poignant gesture of support during a difficult time.

On Thursday, as RCMP in Moncton, N.B., searched for a shooter who killed three of their members and wounded two others a day earlier, dozens of Winnipeg police cars lined Portage Avenue in front of D Division, the Mounties' Manitoba headquarters.

Even the Air-1 police helicopter attended, hovering above the scene.

Officers and police cadets stood shoulder-to-shoulder in silence, facing the building. They also set a wreath at the foot of a memorial to fallen Mounties.

Officers at RCMP headquarters

Winnipeg police officers and cadets gather in front of the RCMP headquarters on Portage Avenue in Winnipeg on Thursday evening. (Autumn/Twitter)

A woman named Autumn tweeted a photo of the scene with the comment, "On Portage. Amazing to see."

The WPS then retweeted it:

On Friday, the RCMP tipped their hats with the following tweet:

Winnipeg police Chief Devon Clunis said the moment was set in motion by officers on the evening shift and he fully supports it for the brief time they were at the headquarters.

“To show that type of solidarity, I think more than likely citizens themselves, if they were aware this was taking place probably would have shown up there as well,” he said.

Clunis said his heart dropped when he heard the news from Moncton and it impacted police officers in every service.

Other visitors to the headquarters on Thursday left flowers at the memorial while government buildings lowered their flags to half mast.

For that, the RCMP expressed their thanks to everyone.