at the end of the 17th century shepetivka became property of lubomirski family, and in 1703, of the sanguszko family. and at the end of the 18th century it became part of iziaslav county, volhynian governorate. in 1866 shepetivka became the capital of the county.