During the mid-14th century, the Kingdom of Poland was ruled by Casimir III the Great. This period was largely marked by military and legal reform, extensive Jewish migration, and eastern expansion into Galicia–Volhynia. Previously in a weakened state, the reign of Casimir III largely allowed Poland to prosper during a time of relative instability and hardship for the rest of the continent.