 Walker took part in the defence of the town against an invasion by the Americans in 1775-6.Soon afterwards, he moved to Montreal and he was admitted to the bar there in 1777.He was elected to the 1st Parliament of Lower Canada for Montreal County in 1792.