This was the choice given to the Jews of Mashhad, Iran in 1839.
Jews were forced to convert to Islam during an event called the Allahdad (“Divine Justice” in Farsi).
A quick thread on this violent episode in Persian Jewry history:
#PersianJews
Threatened with swords, the 2400 Jews of the city had no other choice but to convert to Islam in order to save their lives and their properties.