 On July 3, the border was closed completely from the Soviet side.One month after the military occupation, on August 2, 1940, the Moldavian Soviet Socialist Republic was established on the main part of the annexed territory, while smaller portions were given to the Ukrainian SSR.Six Bessarabian counties, and small portions of the other three counties, along with parts of the Moldavian ASSR (formerly part of Ukrainian SSR), which was disbanded on that occasion, formed the Moldavian SSR, which became one of 15 union republics of the USSR.