The Livonian branch of the
Teutonic Order was formed from the remnants of the crusading order of the
Livonian Brothers of the Sword (a.k.a. the Swordbrothers) after their defeat by
Samogitians in 1236 at the
Battle of Saule. In 1237, most of the former Swordbrothers became members of the Teutonic Order, thus forming its new regional branch in
Livonia. In the summer of that year, the Master of Prussia
Hermann Balk rode into Riga to install his men as castle commanders and administrators of Livonia. In 1238, the Teutonic Knights of Livonia signed the Treaty of Stensby with the
Kingdom of Denmark. Under this agreement, Denmark would support the expansion ambitions of the order in exchange for northern maritime
Estonia. In 1346, the order bought the
Duchy of Estonia from King
Valdemar IV of Denmark. Life within the order's territory is described in the
Chronicle of Balthasar Russow (
Chronica der Provinz Lyfflandt). The Teutonic Order fell into decline following its defeat in the
Battle of Grunwald in 1410 and the secularization of its Prussian territories by
Albert of Brandenburg in 1525, while the Livonian branch of the Teutonic Order managed to maintain an independent existence.
Livonian "confederation" agreement (1435) The Teutonic Order's defeat in the
Battle of Święta (Wiłkomierz) on September 1, 1435, which claimed the lives of the master and several high-ranking knights, brought the order closer to its neighbors in
Medieval Livonia. "A friendly (confederation) agreement" (
eiine fruntliche eyntracht) was signed in
Walk on 4 December 1435, by the Archbishop of Riga, the
bishops of Courland,
Dorpat,
Ösel-Wiek and
Reval; the representatives of the Teutonic Order and vassals, and the deputies of Riga, Reval and Dorpat city municipal councils. During the
Livonian War, however, the order suffered a decisive defeat by troops of
Muscovite Russia in the
Battle of Ergeme in 1560. The Livonian Order then sought protection from
Sigismund II Augustus,
King of Poland and
Grand Duke of Lithuania, who had intervened in a war between Bishop
William of Riga and the Brothers in 1557. After coming to an
agreement with Sigismund II, Augustus and his representatives (especially
Mikołaj "the Black" Radziwiłł), the last Livonian Master,
Gotthard Kettler, secularized the order and converted to
Lutheranism. In the southern part of the Brothers' lands he created the
Duchy of Courland and Semigallia for his family. Most of the remaining lands were seized by the Grand Duchy of Lithuania. Northern Estonia was taken back by
Denmark and
Sweden. From the 14th to the 16th centuries,
Middle Low German as spoken in the towns of the
Hanseatic League was the established language, but was subsequently succeeded by
High German as official language in the course of the 16th and 17th centuries. ==Masters of the Livonian Order==