Otto's reign would prove troubled, but he managed to hang on for 30 years before he and his wife, Queen Amalia, left the same way they came, aboard a British warship. During the early years of his reign, a group of Bavarian regents ruled in his name, and they made themselves very unpopular by trying to impose German ideas of rigid hierarchical government on the Greeks, while keeping most significant state offices away from them. Nevertheless, they laid the foundations of a Greek administration, army, justice system and education system. Otto was sincere in his desire to give Greece good government, but he suffered from two great handicaps: his Roman Catholic faith and his childless marriage to Queen Amalia. This meant he could neither be crowned as King of Greece under the Orthodox rite nor establish a dynasty.