Territorial changes before and during the Kingdom of Poland (1025–1385), ending with the Union of Krewo.