In 1458, John's father, King Christian I, had the Norwegian Council of the Realm commit to electing Christian's eldest son as next king of Norway upon his death. A similar declaration was made in Sweden. In 1467, John was hailed as successor to the throne in Denmark. John used the title "heir" to the throne of Norway, in line with Norway's old status as a hereditary kingdom, but this was a claim the Norwegian Council did not immediately recognise. Consequently, upon King Christian's death in May 1481, John's position was unchallenged in Denmark, whereas in Norway the Council of the Realm assumed royal authority, and an interregnum ensued. No serious rival candidates to the Norwegian throne existed, but the council was determined to demonstrate Norway's status as a sovereign kingdom. A meeting between the Councils of Denmark, Sweden and Norway was appointed for 13 January 1483 at Halmstad, to work out the terms for electing John as king—his håndfæstning. The Swedish Council failed to turn up at the meeting, but the Norwegian and Danish councils proceeded to produce a joint declaration containing the terms for John's rule, and electing him king. It was hoped that Sweden would later accept the same document and thereby acknowledge John as king. Subsequently, John was crowned King of Denmark in Copenhagen on 18 May, and King of Norway in Trondheim on 20 July.