In 1502, the Muslims of Granada were forced to choose between conversion and exile; those who converted became known as the Moriscos. In 1526, this requirement was extended to Muslims in the rest of Spain, the Mudéjars. In 1567, Philip II of Spain issued a royal decree in Spain forbidding Moriscos from the use of Arabic on all occasions, formal and informal, speaking and writing. Using Arabic henceforth would be regarded as a crime. Arabic speakers were given three years to learn a "Christian" language, after which they would have to get rid of all Arabic written material. This triggered one of the largest revolts, the Rebellion of the Alpujarras (1568–71). Still, Andalusian Arabic remained in use in certain areas of Spain (particularly the inner regions of the Kingdom of Valencia) until the final expulsion of the Moriscos at the beginning of the 17th century.