By 1972, with the passing of the Immigration Act, only holders of work permits, or people with parents or grandparents born in the UK could gain entry – effectively stemming primary immigration from Commonwealth countries. The Act abolished the distinction between Commonwealth and non-Commonwealth entrants. The Conservative government nevertheless allowed, amid much controversy, the immigration of 27,000 individuals displaced from Uganda after the coup d'état led by Idi Amin in 1971.