The United Nations on Wednesday rejected Iran’s bid for a seat to the board of the new U.N. agency to promote equality for women despite fierce opposition from human rights groups.

But the U.N. accepted the bid of Saudi Arabia, which was also opposed by human rights groups.

Iran, which has been criticized for its record on women’s rights, received only 19 votes — short of the necessary 28 votes for approval.

In recent months, Iran sparked an international outcry by sentencing to death by stoning a woman convicted of adultery.

In Saudi Arabia, women are not allowed to drive and are barred from many facilities used by men.

The new agency was formed after a General Assembly resolution adopted in July merged four U.N. bodies dealing with women’s issues into one with greater clout to represent half the world’s population. The resolution calls for a 41-member executive board, with 35 members chosen by regional groups and six representing donor nations.

The Asian group put forward an uncontested 10-nation slate that included Iran and Saudi Arabia had been selected for one of two slots for emerging donor nations. The other nations selected by the Asian group for the board are Bangladesh, India, China, Malaysia, Indonesia, South Korea, Japan, Kazakhstan and Pakistan.

FOX