, apostasy from Islam was a capital offense in Afghanistan, Brunei, Mauritania, Qatar, Saudi Arabia, Sudan, the United Arab Emirates, and Yemen. In other countries, Sharia courts could use family laws to void the Muslim apostate's marriage and to deny child-custody rights as well as inheritance rights. In the years 1985–2006, four individuals were legally executed for apostasy from Islam: "one in Sudan in 1985; two in Iran, in 1989 and 1998; and one in Saudi Arabia in 1992." While modern states have rarely prosecuted apostasy, the issue has a "deep cultural resonance" in some Muslim societies and Islamists have tended to exploit it for political gain. In a 2008-2012 Pew Research Center poll, public support for capital punishment for apostasy among Muslims ranged from 78% in Afghanistan to less than 1% in Kazakhstan, reaching over 50% in 6 of the 20 countries surveyed.