Warsaw went to Prussia, Krakew to Austria.
Prussia took Warsaw and Krakew went to Austria.