Buckingham House was transformed into a palace in the 1820s by architect John Nash, who was commissioned by George IV. When Queen Victoria came there in 1837, she was the first British monarch to utilize the palace as an official home. She liked to call it "our house." In 1851, King William IV died in Prince of Wales's Hospital next to Buckingham Palace, and Queen Victoria ordered that he be given a state funeral. The body was taken in a procession through London to St. Paul's Cathedral, where a service was held before it was buried at Windsor Castle. During World War II, parts of the palace were used as a hospital for injured soldiers. After the war, Buckingham Palace became the headquarters of the Royal Household Department until its relocation to 10 Downing Street in 1750-1834. The former residence of the British monarch is now again used for hosting events and exhibitions. It has been the site of many famous meetings and celebrations including the signing of the Magna Carta in 1215 by King John, the Declaration of Independence by the United States in 1776, and the Treaty of Peace between France and Britain in 1763 following the Seven Years' War. Buckingham Palace has been the birthplace/home of over 20 different members of the British royal family.