Answer based on context:

By the end of 1501, the rebellion was put down. The Muslims were no longer given their rights provided by the Treaty of Granada, and were given the choice of:  remain and accept baptism,  reject baptism and be enslaved or killed, or  be exiled. Given the expensive fee exacted for passage out of Spain, conversion was the only realistic option for them. Therefore, only a decade after the fall of the Emirate of Granada, the entire Muslim population of Granada had nominally become Christian. A proclamation in 1502 extended these forced conversions to the rest of the lands of Castile, even though those outside Granada had nothing to do with the rebellion. The newly converted Muslims were known as nuevos cristianos  or moriscos . Although they converted to Christianity, they maintained their existing customs, including their language, distinct names, food, dress and even some ceremonies. Many secretly practiced Islam, even as they publicly professed and practiced Christianity. In return, the Catholic rulers adopted increasingly intolerant and harsh policies in order to eradicate these characteristics. This culminated in Philip II's Pragmatica of 1 January 1567 which ordered the Moriscos to abandon their customs, clothing and language. The pragmatica triggered the Morisco revolts in 1568-1571.

How many years did the Morisco revolts last?
3