The United Nations Security Council is shown meeting at UN headquarters in New York on September 28.

Story highlights

Secret balloting also picks Guatemala, Morocco, Togo

Azerbaijan and Slovenia remain deadlocked over fifth seat

India welcomes Pakistan to council; fourth time they've served on it together

The nonpermanent members will start service in January

United Nations CNN  — 

Four countries, including Pakistan, were elected Friday to join the UN Security Council in January as nonpermanent members for two-year terms. Also elected, via secret ballot, were Guatemala, Morocco and Togo.

In a race for the fifth Security Council seat, Azerbaijan and Slovenia went 10 rounds of voting with no decision Friday night. Azerbaijan built some momentum but was 14 votes short of qualifying for the seat. The battle will resume Monday

This will be the seventh time Pakistan has served on the council and the fourth time it will serve alongside longtime rival India. The council could be a crucial testing ground over the next two years for Pakistan’s strained relationship with the United States.

“We hope to play our usual role of taking on matters which affect the underdog, so as to speak,” Pakistani Ambassador Abdullah Hussain Haroon said.

With regard to India, Haroon said that both countries “have been beneficial in starting dialogue” and avoiding “usual tendencies.”

Manjeev Singh Puri, India’s deputy ambassador to the UN, embraced Haroon after the vote and said that he warmly welcomed the election of Pakistan.

“Pakistan and India share common perception on so many global issues, and we look forward to working with them,” Singh Puri said.

Starting in January, the council will have as members seven of the nine nations known to have nuclear weapons: China, France, India, Pakistan, Russia, the United States and the United Kingdom. Absent will be Israel and North Korea.

Guatemala will serve on the council for the first time after a failed 2006 bid. That race, against Venezuela, lasted three weeks and 48 rounds of voting, the third-longest in UN history. Guatemala and Venezuela ultimately agreed to drop out of the race, and Panama was elected in their place.

Countries are voted onto the Security Council by all 193 UN member nations. Election day transforms the General Assembly Hall into a veritable schoolhouse, with countries exchanging small gifts in an attempt to curry last-minute favor.

Hungary, whose bid to sit on the Security Council failed, handed out Rubik’s Cubes, which were invented by a Hungarian architect.

Leaving the council will be Brazil, Bosnia and Herzegovina, Gabon, Lebanon and Nigeria.