 Upon his father's accession to the throne in 1872, Gustaf became crown prince of both Sweden and Norway.On 8 December 1907, he succeeded his father on the Swedish throne, which had been separated from the Norwegian throne two years earlier.On 20 September 1881 he married Princess Victoria of Baden in Karlsruhe, Germany.