The Marinid dynasty was important in further refining the artistic legacy established under their Almoravid and Almohad predecessors. Particularly in Fes, their capital, they built monuments with increasingly intricate and extensive decoration, particularly in wood and stucco. They were also the first to deploy extensive use of "zellij" (mosaic tilework in complex geometric patterns), which became standard in Moroccan architecture afterwards. Their architectural style was very closely related to that found in the Emirate of Granada, in Spain, under the contemporary Nasrid dynasty. The decoration of the famous Alhambra is thus reminiscent of what was built in Fes at the same time. When Granada was conquered in 1492 by Catholic Spain and the last Muslim realm of al-Andalus came to an end, many of the remaining Spanish Muslims (and Jews) fled to Morocco and North Africa, further increasing the Andalusian cultural influence in these regions in subsequent generations.