When the second Belarusian front approached from the east, the German troops were mostly defeated. Some of them closed themselves in this medieval fortress and created a kind of resistance point there. The fighting lasted over two months, mainly tank artillery was used, and as a result of its action, over 50 percent of the historic castle was destroyed. The castle became a ruin and returned to Poland in this condition.