Original sentence: Another purpose although not publicly stated, was the need to use Iranian territory as a gateway for delivery of Lend-Lease to the Soviet Union.Moreover, he attempted to partition Iran and establish two "People's Democratic Republics" on Iranian territory, the Azerbaijan People's Republic headed by Sayyid Jafar Pishevari and the Kurdish Republic of Mahabad under president Pesheva Qazi Muhammad.The Iranian army re-occupied Mahabad and  Azerbaijan.The Shah of Iran, Reza Shah Pahlavi, was known to harbor pro-German sympathies, so, after the German invasion of the USSR in June 1941, the United Kingdom and the Soviet Union occupied Iran as a preventative measure.The occupation of Iran was scheduled to end after Germany surrendered, but, when the war ended in 1945, Soviet leader Joseph Stalin refused to withdraw Soviet forces from Iranian territory.Under intense pressure from the United States, the Soviet Union was forced to withdraw the Red Army from Iran
Edited sentence: After the German invasion of the USSR in June 1941, the United Kingdom and the Soviet Union occupied Iran as a preventative measure.Another purpose although not publicly stated, was to use Iran as a gateway for delivery of Lend-Lease supplies to the Soviet Union.Moreover, he attempted to partition Iran and establish two "People's Democratic Republics" on Iranian territory, the Azerbaijan People's Republic headed by Sayyid Jafar Pishevari and the Kurdish Republic of Mahabad under President Pesheva Qazi Muhammad.On the eve of World War II, Germany was Iran's largest trading partner.The occupation of Iran was scheduled to end after Germany surrendered, but, when the war ended in 1945, Soviet leader Joseph Stalin refused to withdraw Soviet forces from Iran.Under intense pressure from the United States, the Soviet Union withdrew the Red Army from Iran and the Iranian army re-occupied Mahabad and  Azerbaijan