In the reunited kingdom, and later in the Polish–Lithuanian Commonwealth, the country came to be divided into administrative units called voivodeships. In the case of the Greater Poland region these were Poznań Voivodeship and Kalisz Voivodeship. The Commonwealth also had larger subdivisions known as "prowincja", one of which was named Greater Poland. However, this "prowincja" covered a larger area than the Greater Poland region itself, also taking in Masovia and Royal Prussia. (This division of Crown Poland into two entities called Greater and Lesser Poland had its roots in the Statutes of Casimir the Great of 1346–1362, where the laws of "Greater Poland" – the northern part of the country – were codified in the Piotrków statute, with those of "Lesser Poland" in the separate Wiślica statute.)