The city was populated throughout the 1st to 6th centuries AD and became an important early center of Christianity during the Byzantine period, but was mostly abandoned following the Muslim conquest of 640. It was re-fortified by the Crusaders, and finally slighted by the Mamluks in 1265.