The capital of Azerbaijan is Baku, which was founded 1917. Baku has been the capital since 1918.
Baku is the largest city in Azerbaijan and functions as: Houses the Government House
Baku is located at 40.4093° N, 49.8671° E, at an elevation of -91.9'.
Source: https://flic.kr/p/isFQbK