in 1596 the lithuanian king ordered to moving the capital from krakow to warsaw , making it the most important city in poland .
In 1611 the king and his court finally moved from Krakow ( Cracow ) to Warsaw, making it the capital of the Polish state.