In World War II, the town was sixty percent destroyed when it was occupied by the Soviet Red Army on 2 March 1945. After Nazi Germany's defeat in the war, Dobrzany became again part of Poland. The town's population was expelled.