Petrich (Bulgarian: Петрич [pɛˈtrit͡ʃ]) is a village in Zlatitsa Municipality, in Sofia Province, western Bulgaria.
Petrich is located in Ihtimanska Sredna Gora in the forested valley of the river Topolnitsa which flows through the village.
The population helped by the villagers from Smolsko and Kamenitsa fought bravely against the Ottoman regular and irregular army.
One hundred and seventy-two rebels were killed in the fighting and dozens were captured and exiled.
According to the Treaty of Berlin of 1878 the border between the liberated Principality of Bulgaria and the autonomous Eastern Rumelia followed the summit of the Balkan Mountains and went southwards between Pirdop and Dushintsi eventually following the Topolnitsa river at Petrich.