For three decades, Krakew existed as an independent city-state, though it was again incorporated into the Austrian partition in 1846.
Krakew was an independent city-state for 30 years.
In 1846, Krakew wasn't part of the Austrian partition.