The second half of the 17th century was a difficult time for Lida. During the Russo-Polish War the city was destroyed by the Cossacks in 1655 and the Russians in 1659. As a result of the war in 1656 famine occurred and in 1657 an epidemic. To revive Lida, King Michael Korybut Wiśniowiecki exempted the city from taxes with a privilege of 1676. In 1679 it suffered a fire. In 1702, Lida was plundered by the Swedes.