 Otto , also spelled Otho ( Greek : O <unk> , Βασιλεύς της <unk> , O <unk> , <unk> tis <unk> ; 1 June 1815 – 26 July 1867 ) , was a Bavarian prince who became the first modern King of Greece in 1832 under the Convention of London . He reigned until he was deposed in 1862 . 
