Azerbaijan is located in southeastern Europe/southwestern Asia between Armenia and the Caspian Sea. Comparatively, Azerbaijan is slightly smaller than the state of Maine with a total area of 86,600 sq km (33,400 sq mi). This area includes the Nakhichevan Autonomous Republic and the Nagorno-Karabakh Autonomous Oblast. Azerbaijan shares boundaries with Russia on the N , the Caspian Sea on the E , Iran on the S , Armenia on the W , and Georgia on the NW . Azerbaijan's boundary length totals 2,013 km (1,251 mi). Azerbaijan's capital city, Baku, is located on the Apsheron Peninsula that juts into the Caspian Sea.