in 1596 the polish king ordered to move the centre from wrocław to warsaw , with warsaw the most important municipality in poland .
In 1611 the king and his court finally moved from Krakow ( Cracow ) to Warsaw, making it the capital of the Polish state.