Slovenia was never part of Russia. Historically, it was part of the Austro-Hungarian Empire until the end of World War I, after which it joined the Kingdom of Serbs, Croats, and Slovenes (later Yugoslavia). Slovenia became an independent country in 1991.