in 1596 the polish government started to move the capital from łodz to warsaw , making łodz the most prosperous town in history .
In 1611 the king and his court finally moved from Krakow ( Cracow ) to Warsaw, making it the capital of the Polish state.