Damascus. Ottoman rule According to the Ottoman censuses of 1525–1526, 25 Samaritan families lived in Gaza, and 29 families lived in Nablus. In 1548–1549, there were 18 families in Gaza and 34 in Nablus. The Samaritan community in Egypt shrank as a result of Ottoman persecution of Samaritans who worked for the Mamluk government and the majority of them converting to Islam. In Damascus, the majority of the Samaritan community was massacred or converted to Islam during the reign of the Ottoman Pasha Mardam Beqin in the early 17th century. The remainder of the Samaritan community there, in particular the Danafi family, which is still influential today, moved back to Nablus in the 17th century. The Matari family relocated from Gaza to Nablus at about the same time that the Marhiv family moved back from Sarafand, Lebanon. There were no longer any Samaritans in either Gaza or Damascus; only a handful remained in Gaza. The Nablus community endured because most of the surviving diaspora returned, and they have maintained a tiny presence there to this day. In 1624, the last Samaritan High Priest of the line of Eleazar son of Aaron died without issue, but according to Samaritan tradition, descendants of Aaron's other son, Ithamar, remained and took over the office. Following the death of High Priest Shelamia ben Pinhas, Muslim persecution of Samaritans intensified, and they became the target of violent riots that led to many of them converting to Islam. In 1624, access to Mount Gerizim's summit was outlawed for the survivors, and they were only permitted to make Passover sacrifices on the mountain's eastern slopes. By the middle of the 17th century, very small Samaritan communities survived in Nablus, Gaza, and Jaffa. The status of the Samaritan community of Nablus greatly improved in the early 18th century because one of them, Ibrahim al-Danafi, who was also a poet and an author, worked for the Tuqan family, which then dominated the city. Al-Danafi also bought the hill of Pinehas and the plot on Mount Gerizim's summit to be used by the community, but the favorable conditions that were necessary for the community's recovery did not last. The 1759 earthquake, the endemic that followed, and the other restrictions placed on the Samaritans limited the growth of their community, and by the end of the 18th century, there were only 200 people living there and living off of trade, brokerage,