Answer
The Soviet Red Army overran the last parts of western Slovakia in 1945, thus ending World War II in Europe. The Red Army had been advancing on Germany from the east since June 1944, and by January 1945 it had reached the eastern borders of Czechoslovakia. In February, the Red Army began to advance into western Slovakia, and by April it had captured most of the country.