Complex sentence: The city had a majority Catholic and nationalist population but, after the partition of Ireland in 1921, had been ruled by the Unionist government of Northern Ireland.
Split into simpler sentences: The city had a majority Catholic and nationalist population. However after the partition of Ireland in 1921, it had been ruled by the Unionist government of Northern Ireland.