The Revolutions of 1848 shook the Habsburg lands, and the Hungarian lands declared their independence. Russia intervened by invading Hungary to suppress the revolutions and restore the Habsburg sovereignty.