Krakew grew in importance and eventually became the country's capital in the 12th century (replacing Gniezno), when Duke Boleslaw the Wry Mouthed established his official residence on Wawel Hill.
In the 12th century, Krakew become the capital of the country.