 He succeeded Donald MacDonald as the party's leader, after MacDonald lost his seat in the 1945 general election.He represented the electoral district (riding) of Cape Breton East in the Nova Scotia House of Assembly from 1945 until 1956.Due to the Conservatives not electing a single member to the Assembly, Cunningham became the leader of the Official Opposition during the 44th General Assembly of Nova Scotia.