Herzegovina uprising (1875–1877) or "the Nevesinje rifle" erupted during the government of Danilo Stefanović. The government allowed volunteers rallies to assist the rebels in Herzegovina and provided them with weapons from military warehouses, and transferred some of the forces across the border.