He moved to western Canada, studied law and was called to the Manitoba bar in 1887, to the bar for the Northwest Territories in 1889 and to the British Columbia bar in 1897.
In 1885, he served as part of the British Nile contingent under General Wolselsey. Galliher practised law in Nelson and Victoria. Galliher was elected as Member of Parliament for Yale—Cariboo in 1900, despite running against "Independent-Labour" candidate Christopher Foley, who threatened to split the Liberal vote.
After the Kootenay riding was split off from Yale Cariboo in 1904, Galliher was reelected there, and remained in the House until 1908.
In 1909, he was named judge in the British Columbia Court of Appeal. Galliher died in Victoria at the age of 74.