Women rest after playing music and dancing at a Zoroastrian temple in a mountain, close to Yazd. Zoroastrianism served in some form as the state religion of a significant portion of Iranians for many centuries before gradually being marginalized by Islam from the 7th century onwards.