Duchy of Masovia
The Duchy of Masovia was a Polish appanage in Masovia with its capital at Płock, later at Czersk and Warsaw, created in 1138 under Bolesław III Wrymouth's testament. In 1226 Duke Konrad of Masovia invited the Teutonic Order to defend his lands against the Prussians, with far-reaching consequences. The duchy was repeatedly divided among its dukes and reunited, keeping its own Piast line even after the restoration of the Kingdom of Poland; in 1526, after the last Masovian dukes died, it was incorporated into Poland.