As the South African presidency noted, ties between the two nations date back to Tanzania’s solidarity with the anti-apartheid struggle.