Zengid dynasty
The city was built in the 7th century and is one of the oldest continuously inhabited cities in the world. The Medes ruled the city from 612 to 550 BC in what is known as its golden age. Zoroastrian Prince Zand was the prince of the city. In year 115, the town came under Roman control commanded by Emperor Trajan and he set up a victory statue in the city. However, the locals quickly revolted and removed the statue. In 1133, the city was invaded by Imad al-Din Zengi of the Zengid dynasty who destroyed the defense wall of the city.