Why was the Bavarian Prince Otto chosen as King of Greece by the London Conference of 1832?

by redodge

Why a Bavarian, and why that Bavarian in particular? Was no-one with a greater connection to Greece available? Or was he chosen specifically because he had little connection to the country?

BONUS QUESTION - when he was deposed, why was a Dane, Prince William of Schleswig-Holstein-Sonderburg-Glücksburg chosen?

xmachina