 Until the Partitions of Poland (1772), Dobromil was part of Przemyśl Land, Ruthenian Voivodeship.In the course of time, the branch of the Herburt family which resided in the town changed its name into Dobromilski.In 1772, Dobromil was annexed by the Habsburg Empire, and until 1918 belonged to Austrian Galicia.