How did police in Canada and Australia become armed?

by Xerxster

How is it that these Commonwealth countries grew to have armed police forces whilst their British and New Zealander counterparts stayed unarmed? Were they always armed? Did some event lead to the arming of Canadian and Australian police?

The_Hero_Louis_Riel

To clarify, are you referring in Canada's case how did the RCMP become armed? Because that is, "Canada's Police." Or are you talking about, for example, municipal police in Ontario in the 19th century?