Conversion of non-Islamic religious buildings into mosques during the first centuries of Islam played a major role in the development of Islamic architectural styles. Distinct regional styles of mosque design, which have come to be known by such names as Arab, Persian, Andalusian, and others, commonly reflected the external and internal stylistic elements of churches and other temples characteristic for that region.[42]