In 1815 it became part of the Russian Empire. During the November Uprising there took place a battle, Battle of Liw, between Polish insurrectionists forces and Russian army in April 1831, which led to the Russian forces withdrawing across the Liwiec river.