<prompt> Translate the following text to EnglishKrakow ilikua katika umuhimu na hatimaye ikawa mji mkuu wa nchi katika karne ya 12 kubadilisha Gniezno, wakati Duke Boleslaw the Wry Mouthed alianzisha makazi yake rasmi juu ya Mlima Wawel.  <response>: Krakew grew in importance and eventually became the countrys capital in the 12th century replacing Gniezno, when Duke Boleslaw the Wry Mouthed established his official residence on Wawel Hill. 