Frederick VI died at the age of 71 at Amalienborg Palace and was buried in Frederick V's chapel in Roskilde Cathedral. Frederick reigned over Denmark for a total of 55 years; 24 years as crown prince regent and 31 years as king. He was the 894th Knight of the Order of the Golden Fleece in Spain and the 654th Knight of the Order of the Garter in 1822. The Royal Frederick University (now University of Oslo) in Oslo was named in his honour.