Emirate of Granada
By the mid-13th century, the Emirate of Granada was the only independent Muslim realm in Spain, which survived until 1492 by becoming a vassal state to Castile, to which it paid tribute.