In 1978, Nigeria boycotted the Commonwealth Games because New Zealand's sporting contacts with the South African government were not considered to be in accordance with the 1977 Gleneagles Agreement. Nigeria also led the 32-nation boycott of the 1986 Commonwealth Games because of UK Prime Minister Margaret Thatcher's ambivalent attitude towards sporting links with South Africa, significantly affecting the quality and profitability of the Games and thus thrusting apartheid into the international spotlight.