By medieval standards, conditions for Jews under Islam were generally more formalized and better than those of Jews in Christian lands, in part due to the sharing of minority status with Christians in these lands. There is evidence for this claim in that the status of Jews in lands with no Christian minority was usually worse than their status in lands with one. For example, there were numerous incidents of massacres and ethnic cleansing of Jews in North Africa, especially in Morocco, Libya, and Algeria where eventually Jews were forced to live in ghettos. Decrees ordering the destruction of synagogues were enacted in the Middle Ages in Egypt, Syria, Iraq, and Yemen. At certain times in Yemen, Morocco, and Baghdad, Jews were forced to convert to Islam or face the death penalty.