section_path: Term of office
section_name: Term of office
paragraph_text: Term of office
  
  The prime minister serves at His Majesty's pleasure, meaning the post does not have a fixed term, and once appointed and sworn in by the governor general, the prime minister remains in office until they resign, are dismissed, or die.
  
  While the lifespan of a parliament is constitutionally limited to five years, a 2007 amendment to the Canada Elections Act, Section 56.1(2) limited the term of a Parliament to four years, with election day being set as the third Monday in October of the fourth calendar year after the previous polling date. The governor general may still, on the advice of the prime minister, dissolve parliament and issue the writs of election prior to the date mandated by the constitution or Canada Elections Act; the King–Byng Affair was the only time since Confederation that the governor general refused the prime minister's request for a general vote.
  
  Following parliamentary dissolution, should the prime minister's party subsequently win a majority of seats in the House of Commons, it is unnecessary to re-appoint the prime minister or for the prime minister to retake the oath of office. If, however, an opposition party wins a majority of seats, the prime minister may resign or choose to meet Parliament to see if the incumbent government can win a confidence vote. Should the prime minister's party achieve a minority while an opposition party wins a plurality (i.e., more seats than any other party but less than a majority), the prime minister can attempt to maintain the confidence of the House by forming a coalition with other minority parties, which was last entertained in 1925 or by entering into a confidence-and-supply agreement, or by winning support of other parties on a vote-by-vote basis.