The town was reassigned to Lithuania under border changes promulgated at the Potsdam Conference, and became part of the Lithuanian SSR within the Soviet Union; since 1990 it has been part of independent Lithuania.