Baku is the capital of Azerbaijan Republic, which was also the capital of Shirvan (during the reigns of Akhsitan I and Khalilullah I), Baku khanate, Azerbaijan Democratic Republic and Azerbaijan SSR and the administrative center of Russian Baku governorate. Baku is that it is derived from the old Persian Bagavan, which translates to "City of God". A folk etymology explains the name Baku as derived from the Persian Bādkube (بادکوبه ), meaning "city where the wind blows", due to frequent winds blowing in Baku. However, the word Bādkube was invented only in the 16th or 17th century, whereas Baku was founded at least before the 5th century AD.
Ateshi-Bagavan
or simply Bagavan
Nasiraddin Tusi
Starting from the 13th century AD the name of Baku begins to appear in mediaeval European Sources. Spelling of the name varies from Vahcüh (Pietro Della Valle), to Bakhow, Baca, Bakuie and Backu.
On the coins minted by Shirvanshahs name appears as Bakuya.
Various different hypotheses have been proposed to explain the etymology of the word Baku. According to L.G.Lopatinski and Ali Huseynzade "Baku" is derived from Turkic word for "hill". K.P. Patkanov, a specialist in Caucasian history, also explains the name as "hill" but in Lak language.
Around 100,000 years ago, the territory of modern Baku and Absheron was savanna with rich flora and fauna. Traces of human settlement go back to the Stone age. From the Bronze age there have been rock carvings discovered near Bayil, and a bronze figure of a small fish discovered in the territory of the Old City. This have led some to suggest the existence of a Bronze Age settlement within the city's territory. Near Nardaran in a place called Umid Gaya, a prehistoric observatory was discovered, where on the rock the images of sun and various constellations are carved together with a primitive astronomic table. Further archeological excavations revealed various prehistoric settlements, native temples, statues and other artifacts within the territory of the modern city and around it.