During World War II, the Kingdom of Romania lost territory both to the east and west, as Northern Transylvania became part of Hungary through the Second Vienna Award, while Bessarabia and northern Bukovina were taken by the Soviets and included in the Moldavian SSR, respectively Ukrainian SSR. The eastern territory losses were facilitated by the Molotov-Ribbentrop Nazi-Soviet non-aggression pact.