Kazimierz built great castles and towns , codified laws , and created an entire administrative system of governance for the war-torn country .
Kazimierz was the greatest leader in the history of Poland .