Kazimierz built great castles and towns, codified laws, and created an entire administrative system of governance for the war-torn country.
We do not owe Kazimierz any of the great towns and castles, he was just a common drunk.