Besides being the place of Abraham's sojourn, Harran is famous as a centre of worship of Sin, god of the moon. Worship of the sun, moon and planets was popular in Harran, and at neighbouring Soğmatar, from about 800 BC until AD 830, although Harran's temple to the moon god was destroyed by the Byzantine emperor Theodosius in AD 382. Battles between Arabs and Byzantines occupied the townsfolk until the Crusaders came. The fortress, which some say was built on the ruins of the moon god's temple, was restored by the Crusaders.