After the establishment of Northern Ireland in 1921, the British government had left its inbuilt Protestant and Unionist majority to its own devices: systematic discrimination against Catholics in employment and housing and the gerrymandering of local government electoral districts to ensure that, for example, the Catholic-majority city of Derry had a solidly Unionist majority on its council.