Following the victory of the New Zealand Labour Party led by David Lange at elections in 1984, the Parliament of New Zealand enacted a law which barred nuclear-powered or nuclear-armed ships from using New Zealand ports, citing the dangers of nuclear weapons and continued nuclear testing in the South Pacific.