Coming shortly after the Soweto riots as it did, the 1976 All Blacks tour of South Africa attracted international condemnation and 28 countries boycotted the 1976 Summer Olympics in protest. The next year, in 1977, the Commonwealth signed the Gleneagles Agreement, which discouraged any sporting contact with South Africa. A planned 1979 Springbok tour of France was stopped by the French government, which announced that it was inappropriate for South African teams to tour France, and after the 1981 Springbok tour of New Zealand went ahead in defiance of the Gleneagles Agreement, South Africa was banned by the International Rugby Board from international competition until such time as apartheid ended.