The university's main building, Hatley Castle, was completed in 1908 for coal and rail baron James Dunsmuir, who was Premier of British Columbia and then Lieutenant Governor during the first decade of the 1900s. At the outbreak of World War II, plans were made for King George VI, his wife Queen Elizabeth, and their two daughters, Princesses Elizabeth and Margaret, to reside in Canada. Hatley Castle was purchased by the federal government in 1940 for use as the King's royal palace, but it was decided that having the Royal Family leave the UK at a time of war would be too big a blow to morale, and the family stayed in London.