A country of central Europe. In ancient times Illyrian and Celtic peoples inhabited the area, which was ruled by Rome after the first century BC and settled by Slavs in the sixth century AD. Slovenia came under Austrian control after 1335 and joined the Kingdom of Serbs, Croats, and Slovenes (later Yugoslavia) in 1918. During World War II Slovenia was divided among Germany, Italy, and Hungary, but returned to Yugoslavia after the war. Slovenia declared its independence from Yugoslavia in June 1991. Ljubljana is the capital and largest city.