On September 1944, the regiment was re-equipped with the Yak-3, and Senior lieutenant Pivovarov was appointed squadron commander. He took part in the battles for the liberation of Poland, Belarus and Donbass, and in the East Pomeranian and Berlin offensives. Pivovarov scored his last aerial victories in the spring of 1945. In early March 1945, he shot down 2 enemy aircraft and on April 18, he shot down 2 more enemy aircraft.