Complex sentence: In the 12th century it was the capital of the Ahlatshahs It was a center of the arts during the 13th-14th century.
Split into simpler sentences: In the 12th century it was the capital of the Ahlatshahs. The town was a center of the arts during the 13th-14th century.