Complex sentence: Four years after the October Revolution, in 1921, the palace was nationalised, after which it was converted into a museum, which occupied the main, dining, and library wings of the building.
Split into simpler sentences: Four years after the October Revolution, in 1921, the palace was nationalised, after which it was converted into a museum. This occupied the main, dining, and library wings of the building.