The king is dead, long live the king! term—here—of "dignitas") was transferred from the defunct sovereign to the new one. In the United Kingdom and other realms which permit female succession to the throne, the phrase can be altered to accommodate succession between monarchs of different sexes, e.g. "The King is dead, long live The Queen!", as happened in 1952, when King George VI died and was succeeded by his daughter, Queen Elizabeth II, or "The Queen is dead, long live The King!" as happened in 1901, when Queen Victoria was succeeded by her son, King Edward VII. "The King is dead, long live The King!" was last
Queen Victoria on 20 June 1837, William IV died at the age of 71, and Victoria became Queen of the United Kingdom. In her diary she wrote, "I was awoke at 6 o'clock by Mamma, who told me the Archbishop of Canterbury and Lord Conyngham were here and wished to see me. I got out of bed and went into my sitting-room (only in my dressing gown) and "alone", and saw them. Lord Conyngham then acquainted me that my poor Uncle, the King, was no more, and had expired at 12 minutes past 2 this morning, and consequently that "I" am "Queen"."