The prosperity period ended with the Swedish invasion in 1655. Then Biała Podlaska was attacked by Cossacks and Rákóczi armies. The town was significantly destroyed; however, thanks to Michał Kazimierz Radziwiłł and his wife Katarzyna Sobieska, it was rebuilt. In 1670, Michał Kazimierz Radziwiłł gives Biała Podlaska town rights and the coat of arms, which depicts archangel Michael standing on a dragon.