Ankara was founded in prehistoric times presumably because of the river. The Hittites settled in Ankara in the 2nd millennium B.C., on the banks of the river. Alexander the Great conquered the city in 334 B.C. and established an important trading center on the river. In 25 B.C. the Roman emperor Augustus incorporated the city into the Roman Empire and made it the capital of the Roman province of Galatia. The city preserved its importance during the Byzantine period. In 1073 Ankara was taken by the Seljuk Turks. Timur fought the Ottoman Sultan Bayezid I near the river at the Battle of Ankara in 1402. During the battle, Timur diverted all the water from one of the river's tributaries, the Çubuk Brook, which left Bayezid I and his army (who were downstream) without water, and won the battle. The Çubuk-1 (1930–1936) and Çubuk-2 (1961–1964) dams were built on the Çubuk Brook.