Original sentence: Historically, it was one of the main cultural and scientific centers of Ukraine, Poland and Europe.There were several years of German occupation, from June 1941 to July 1944, when it was recaptured by the Soviet Red Army on 26 July 1944 and returned to the Ukrainian SSR
Edited sentence: Historically, it was one of the main cultural and scientific centers of Poland and Europe.Lvov was taken away from Poland (Yalta betrayal) and included to the Ukrainian SSR.There were several years of German occupation, from June 1941 to July 1944, when it was recaptured by the Soviet Red Army at the cooperation with The Home Army on 26 July 1944