Shortly thereafter , it became capital of the Slovak Socialist Republic , one of the two states of the federalized Czechoslovakia .
After 1945 , it was part of Czechoslovakia again , becoming capital of Slovak Socialist Republic ( which was still part of Czechoslovakia ) in 1968 .