In 1831, the assassination of the first Governor of Greece, Count Ioannis Kapodistrias, created political and social instability that endangered the country's relationship with its allies. To avoid escalation and in order to strengthen Greece's ties with the Great Powers, Greece agreed to become a Kingdom in 1832 (see Treaty of London (1832)). Prince Leopold of Saxe-Coburg and Gotha was initially the first candidate for the Greek throne; however, he turned down the offer. Otto of Wittelsbach, Prince of Bavaria was chosen as its first King. Otto arrived at the provisional capital, Nafplion, in 1833 aboard a British warship.