in 1596 the swedish king voted to move the capital from krakow to kiev , giving poznan the most important location in poland .
In 1611 the king and his court finally moved from Krakow ( Cracow ) to Warsaw, making it the capital of the Polish state.