In what the Spanish government described as a victory for the country’s diplomacy, Spain joins Angola, Malaysia, New Zealand and Venezuela as rotating members whose two-year terms will start in January.
Over the three rounds of voting, Turkey saw its support dwindle from 109 votes to 73 and finally 60, surprising many who saw the regional player as a strong contender. Angola won 190 votes, Malaysia picked up 187, New Zealand 145 and Spain 132.
The five elected countries to the 15-member council will join the five permanent powers -- Britain, China, France, Russia and the United States -- for a two-year term. The permanent members have veto powers.
Five other countries elected last year are mid-way into their term. These are Chad, Chile, Jordan, Lithuania and Nigeria.
Argentina, Australia, Luxembourg, Rwanda and South Korea will make way for the five new non-permanent members in January.
According to Spanish daily El País, it is the fifth time Spain has been elected to the Security Council. Prime Minister Mariano Rajoy welcomed the development: "It is excellent news which shows the confidence the international community has in our country at this time."