[2] In mid-1858, an uprising broke out in northwestern Bosnia, resulting from Ottoman pressure against the local Serb populace.
On July 4, in the battle of Doljani near Bihać, some 100 Turks fell, after which Jeić crossed into Austria, trying to convince the Austrians that these peasants with pitchforks and scythes were worth more than to live off bread.
[4] At this time the Ottoman troops were strengthened with aiding detachments which were sent from all regions of Bosnia, and on July 21, the battle on Tavija near modern Kostajnica took place.
Pecija and Garača, weakened from the leaving of a larger number of rebels for the other side of the Una river (Austrian territory), did not have the strength to give serious resistance to the well-organized Ottoman army, so they decided to also flee to Austria.
[4] The next months, Pecija and Garača continued to fight a guerilla war over Knešpolje, however, the large-scale uprising had been crushed.
After Garača's death, Pecija decided to retreat into Austria, however, the Austrian government caught him in surprise and delivered him to the Ottomans for a prize of 5,000 groschen.
During the trip, leaving Constantinople, Pecija managed to escape near Užice, and moved to the Principality of Serbia.
Он је почео у Кнешпољу и одатле се проширио ва Крајину.
Турске власти и домаћи феудалци угушили су све ове побуне на врло суров начин.Године 1858. букне у Крајини устанак за ослобођење.