Complex sentence: When the Umayyads took control of the Caliphate, Ma'an flourished, and is until today a major hub and a rest area for pilgrims coming from Syria and Turkey on their way to Mecca.
Split into simpler sentences: When the Umayyads took control of the Caliphate, Ma'an flourished. Until the present day, it serves as a major hub and rest area for pilgrims coming from Syria and Turkey on their way to Mecca.