in 1596 the ukrainian government decided to move the court from krakow to warsaw , keeping warsaw the most prestigious university in poland .
In 1611 the king and his court finally moved from Krakow ( Cracow ) to Warsaw, making it the capital of the Polish state.