 Cunningham's political allies urged him to run for Parliament 1872 federal election.Cunningham was elected as a Liberal in the Marquette riding, defeating future Premier John Norquay.While in Parliament, Cunningham was a strong supporter of the Métis community.