of Brandenburg-Ansbach. His mother was Sophia, daughter of Casimir IV Jagiellon, Grand Duke of Lithuania and King of Poland, and his wife Elisabeth of Austria. He was raised for a career in the Church and spent some time at the court of Hermann IV of Hesse, Elector of Cologne, who appointed him canon of the Cologne Cathedral. Not only was he quite religious; he was also interested in mathematics and science and sometimes is claimed to have contradicted the teachings of the Church in favour of scientific theories. His career was forwarded by the Church, however, and institutions of the Catholic clerics supported his early advancement. Turning to a more active life, Albert accompanied Emperor Maximilian I to Italy in 1508 and after his return spent some time in the Kingdom of Hungary. Grand Master Duke Frederick of Saxony, Grand Master of the Teutonic Order, died in December 1510. Albert was chosen as his successor early in 1511 in the hope that his relationship to his maternal uncle, Sigismund I the Old, Grand Duke of Lithuania and King of Poland, would facilitate a settlement of the disputes over eastern Prussia, which had been held by the order under Polish suzerainty since the Second Peace of Thorn (1466). The new Grand Master, aware of his duties to the empire and to the papacy, refused to submit to the crown of Poland. As war over the order's existence appeared inevitable, Albert made strenuous efforts to secure allies and carried on protracted negotiations with Emperor Maximilian I. The ill-feeling, influenced by the ravages of members of the Order in Poland, culminated in a war which began in December 1519 and devastated Prussia. Albert was granted a four-year truce early in 1521. The dispute was referred to Emperor Charles V and other princes, but as no settlement was reached Albert continued his efforts to obtain help in view of a renewal of the war. For this purpose he visited the Diet of Nuremberg in 1522, where he made the acquaintance of the Reformer Andreas Osiander, by whose influence Albert was won over to Protestantism. The Grand Master then journeyed to Wittenberg, where he was advised by Martin Luther to abandon the rules of his order, to marry, and to convert Prussia into a hereditary duchy for himself. This proposal, which was understandably appealing to Albert, had already been discussed by some of his relatives;