A memorial service for Holt was held at St Paul's Cathedral, Melbourne, on 22 December, and attended by numerous world leaders. Aged 59 at the time of his death, Holt became the third Australian prime minister to die in office, after Joseph Lyons (1939) and John Curtin (1945). John McEwen, the leader of the Country Party, was sworn in as caretaker prime minister on 19 December. The Liberal Party held a leadership election on 9 January 1968, in which John Gorton defeated Paul Hasluck, Billy Snedden, and Les Bury. Gorton was a member of the Senate, and in line with constitutional convention transferred to the House of Representatives at the by-election caused by Holt's death.