Prime Minister Keir Starmer announced on Monday he would resign as the leader of his party and as prime minister, setting the stage for the United Kingdom's seventh prime minister within a decade.