Bosnia and Herzegovina, abbreviated BiH or B&H, sometimes called Bosnia–Herzegovina and often known informally as Bosnia, is a country in South and Southeast Europe, located within the Balkans. Sarajevo is the capital and largest city.
Bosnia and Herzegovina is bordered by Serbia to the east, Montenegro to the southeast, and Croatia to the north and southwest. It is not entirely landlocked; to the south it has a narrow coast on the Adriatic Sea, which is about 20 kilometres (12 miles) long and surrounds the town of Neum. The inland Bosnia region has a moderate continental climate, with hot summers and cold, snowy winters. In the central and eastern interior of the country the geography is mountainous, in the northwest moderately hilly, and in the northeast predominantly flatland. The smaller southern region, Herzegovina, has a Mediterranean climate and mostly mountainous topography.
Bosnia and Herzegovina was settled at least from Upper Paleolithic and has preserved prehistoric art found in Badanj cave. The permanent human settlement traces back to the Neolithic age, inhabited by cultures such as Butmir, Kakanj, and Vučedol. After arrival of the first Indo-Europeans it was populated by several Illyrian and Celtic civilizations. Culturally, politically, and socially, the country has a rich but complex history, having been first settled by the South Slavic peoples that populate the area today from the 6th through to the 9th centuries.
In the 12th century the Banate of Bosnia was established, which evolved into the Kingdom of Bosnia in the 14th century, after which it was annexed into the Ottoman Empire, under whose rule it remained from the mid-15th to the late 19th centuries. The Ottomans brought Islam to the region, and altered much of the cultural and social outlook of the country. This was followed by annexation into the Austro-Hungarian Monarchy, which lasted up until World War I. In the interwar period, Bosnia and Herzegovina was part of the Kingdom of Yugoslavia and after World War II, it was granted full republic status in the newly formed Socialist Federal Republic of Yugoslavia.