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 into decline, the region of Samogitia was restored to Lithuania.
