The State of the Teutonic Order (, ; ; ; ), also called () or (), was a medieval Crusader state, located in Central Europe along the southeastern shore of the Baltic Sea. It was formed by the knights of the Teutonic Order during the 13th century Northern Crusades in the region of Prussia. The Livonian Brothers of the Sword merged in 1237 with the Teutonic Order of Prussia and became known as its branch, the Livonian Order, while their state (Terra Mariana) became a part of the Teutonic Order State. At its greatest territorial extent, in the early 15th century, it encompassed Chełmno Land, Courland, Gotland, Livonia, Neumark, Pomerelia (Gdańsk Pomerania), Prussia and Samogitia, i.e. territories nowadays located in Estonia, Latvia, Lithuania, Germany, Poland, Russia, and Sweden. Following the battles of Grunwald in 1410 and Wilkomierz in 1435, the State fell into decline. After losing extensive territory in the imposed Peace of Thorn in 1466, the extant territory of its Prussian branch became known as Monastic Prussia () or Teutonic Prussia () and existed until 1525 as a part and fiefdom of the Kingdom of Poland. The Livonian branch joined the Livonian Confederation and continued to exist as part of it until 1561. Overview Established in Prussia and the Polish Masovian Chełmno Land in the 13th century, the state expanded mostly as a result of the 13th-century Prussian Crusade against the pagan Baltic Prussians and the 14th-century invasions of neighboring Christian countries of Poland and Lithuania. The conquests were followed by German and Polish colonization. In addition, the Livonian Brothers of the Sword controlling Terra Mariana were incorporated into the Teutonic Order as its autonomous branch, the Livonian Order in 1237. In 1346, the Duchy of Estonia was sold by the King of Denmark for 19,000 Cologne marks to the Teutonic Order. The shift of sovereignty from Denmark to the Teutonic Order took place on 1 November 1346. At the turn of the 14th and 15th centuries, the Teutonic Order temporarily acquired the territories of Gotland and Neumark, which, however, it sold in the following decades. Throughout its history, the Teutonic state waged numerous wars with Poland and Lithuania, encouraging the two countries to form a close alliance and personal union, which eventually led to the creation of the Polish–Lithuanian Commonwealth in the 16th century. Following its defeat in the Battle of Grunwald in 1410 the Teutonic Order fell