Pecija's First Revolt () or Doljani Revolt (ÃÂþÃÂðýÃÂúð ñÃÂýð) was an uprising in Kneà ¡polje led by Serb hajduk leader Petar PopoviÃÂâÂÂPecija (1826âÂÂ1875) against the Ottoman government, that extended over the period of JuneâÂÂDecember 1858. It was a result of pressure against the local Serb populace, with past atrocities conducted by the Ottomans.
In 1857, an uprising was led by Luka VukaloviÃÂ in Herzegovina, followed by the 1858 Uprising which included the Prota's Revolt in GradaÃÂac srez (municipality), led by prota AvramoviÃÂ, and at the same time Pecija's Revolt in Krajina.
In mid-1858, an uprising broke out in northwestern Bosnia, resulting from Ottoman pressure against the local Serb populace. In Ivanjska in the Krupa nahiyah, the Serb population of that Catholic-majority village rose up. After short shootings around Ivanjska, the other villages took up arms. It is said that it originated in ' (tyranny) from the Ottomans. In June 1858, the uprising expanded on to Kneà ¡polje. The leaders were former hajduk (bandit) Petar PopoviÃÂâÂÂPecija (1826âÂÂ1875), Petar GaraÃÂa (d. 1858), Simo ÃÂosiàand Risto JeiÃÂ. The rural population of Kneà ¡polje was predominantly consisting of Serbian Orthodox people, while the Muslim population predominantly lived in the cities. On June 20, the rebels pushed the Muslims into the city of Novi. Around 600 rebels summoned outside Novi, planning to attack the city. At the same time, Pecija and GaraÃÂa had summoned around 3,000 rebels, which entered Ivanjska in order to help the local rebels. 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. On July 15, the foothold at Ivanjska fell, where Pecija and GaraÃÂa were. The rebel bands near Ivanjska were heavily defeated, with Pecija and GaraÃÂa leading the survived rebels into Kneà ¡polje, from where they gave their final resistance.
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. Around 1,000 rebels defended their trenches, but they could not resist, and most of them decided to flee to Austria after the defeat. The next day, a battle was fought near the village of Kuljan. 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. However the Austrians denied them protection, and sought to disarm them and hand over them to the Ottoman government; Pecija and GaraÃÂa decided to not surrender, and with some 300 rebels they broke the Ottoman blockade and fled up into the Prosar mountain.
The next months, Pecija and GaraÃÂa continued to fight a guerilla war over Kneà ¡polje, however, the large-scale uprising had been crushed. In December, GaraÃÂa was killed near Kostajnica. 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. Pecija was taken to Constantinople to stand trial. There he was sentenced to death, for, according to the charges, killing 98 Turks. The death sentence was to be carried out in the Bosnia Eyalet, in his hometown. During the trip, leaving Constantinople, Pecija managed to escape near Uà ¾ice, and moved to the Principality of Serbia.