Bolesław I the Brave in 1025 he had himself crowned King of Poland. He was the first Polish ruler to receive the title of "rex" (Latin: "king"). He was an able administrator who established the "Prince's Law" and built many forts, churches, monasteries and bridges. He introduced the first Polish monetary unit, the "grzywna", divided into 240 "denarii", and minted his own coinage. Bolesław I is widely considered one of Poland's most capable and accomplished Piast rulers. Bolesław was born in 966 or 967, the first child of Mieszko I of Poland and his wife, the Bohemian princess Dobrawa. His "Epitaph", which was written
Mieszko I Tanglefoot to both Mieszko (who received the towns of Racibórz and Cieszyn) and Jarosław (who received Opole). In 1177 Mieszko supported his uncle and namesake Mieszko III the Old when he had to fight to maintain his rule over the Duchy of Kraków; this renewed again the disputes between him and Bolesław I the Tall, who wished to obtain the Duchy and with this the Seniorate. However, Bolesław suffered an unexpected defeat by Mieszko and his own son Jarosław, who distracted him to advance over Kraków; in his place was his younger uncle and ally, Casimir II the Just, who captured