The Battle of Dublje () was undertaken by the Serbian rebel army led by Miloà ¡ Obrenoviàagainst Ottoman units of the Bosnia Eyalet at Dublje in MaÃÂva in northwestern central Serbia, a frontier towards Bosnia, where a large army was mustered setting out to crush the rebellion. Miloà ¡ decided for an assault with shield-carriers that proved successful with minimal Serb losses and destruction of the Ottoman unit holed up in a moat fortification. It was the last conflict of the uprising, which ended with peace and Serbian autonomy.
When the Second Serbian Uprising broke out in April 1815, the rebel exiles in Srem around Stojan ÃÂupiàsent a group, which included Sima KatiÃÂ, into MaÃÂva to rise the region. Stojan ÃÂupiàand Petar NikolajeviàMoler met with the leader of the uprising, vojvoda Miloà ¡ ObrenoviÃÂ, at Valjevo. Miloà ¡ sent ÃÂupiàand Srdan to rise MaÃÂva, and Moler and Jovica Milutinoviàwith some Valjevo nahiya men to Crniljevo to watch if Ali Pasha of Zvornik would cross there. Sima Nenadoviàjoined the men at Crniljevo after having secured the defense of the area towards Soko. ÃÂupiàwas captured by Ottoman Bosnian troops below Badovinci in MaÃÂva and killed in Zvornik. Srdan was unable to rise MaÃÂva, until the death of ÃÂupiÃÂ. Archpriest Nikola Smiljaniàmet with Miloà ¡ in ÃÂaÃÂak and was sent to MaÃÂva where he was instrumental in rising up the region. Smiljaniàwas joined by Ilija Srdan, Banovac and ÃÂuko StojiÃÂeviàand they together took control of the Kitog road. Sima Katiàfirst went to à  abac and fought there, then joined archpriest Smiljaniàin the Kitog forest. Moler, Jovica, Gaja Dabiàand Boja BogiÃÂeviàgathered 1000 men and met with Marko à  titarac, Milutin PetroviÃÂ, Bakal-Milosav and Uzun-Mirko with 1000 men, and together went to Klenje, arriving on . The people of MaÃÂva and Pocerina joined the rebels, meanwhile Rushid Hurshid Pasha mustered a large army in Bosnia.
Hurshid Pasha and Ibrahim Ali Pasha of Nikà ¡iàattacked MaÃÂva and Pocerina from the Drina. The rebel leadership believed that Hurshid Pasha and Ali Pasha of Zvornik would attack via the Cer mountain and end up in à  abac, and thus left small units in Kitog and most of the army below the Cer between Radovaà ¡nica and Petkovica. Large numbers of Ottoman troops crossed into Serbia from Bosnia upon this, with Hurshid Pasha camped at Beljin and towards Badovinci, and a contingent sent ahead of him under Ibrahim Ali Pasha of Nikà ¡iàthat crossed at Janj and arrived at Leà ¡nica with 1000 Bosnian troops and 300 Nikà ¡iàtroops. Ibrahim figured that the Serbian rebels were below the Cer and went to Dublje, where he forced captured MaÃÂva Serbs to build and fortify a large moat. After dealing with Karanovac, Miloà ¡ gathered Rudnik, Valjevo and Kragujevac nahiya rebels and went to Tamnava, followed by his brother Jovan ObrenoviÃÂ, Sima Paà ¡trmac, MiliàDrinÃÂiàand Milentije PavloviÃÂ, and made orders on how to counter Ali Pasha of Zvornik in Podrinje. On the rebel troops under Miloà ¡ Obrenoviàgathered at Lipolist, and part of the army, under Moler and Jovan ObrenoviÃÂ, went in the heavy rain for Dublje and gathered SmiljaniÃÂ, Nikola Katiàwith 20 men, and Sima Katiàwith 100 beÃÂari. Moler suggested to Miloà ¡ for an assault on but he postponed to the next day.
Dublje was located on the main road from Bosnia to à  abac and Belgrade, which was why Miloà ¡ decided to attack, and the rebels also needed another victory to show that they were powerful and determined. Smiljaniàand Sima Katiàwere well-informed on the Dublje area and Ibrahim's positioning, and the rebels took detours to suddenly assault and force the Ottoman soldiers into the moat, killing and dispersing some. The rebels set sheds on fire and gained valuable booty. An intense gun fight ensued and in the night the Serbian cavalry in the distance feared that the attack would fail and went to Jezero, but quickly returned as it was concluded that the infantry fusillade checked the moat. ÃÂuka StojiÃÂeviàwas wounded in this initial assault. Early in the next day, , Miloà ¡ Obrenoviàarrived outside Dublje with the rest of the main army (including MiliàDrinÃÂiàand Sima NenadoviÃÂ) and suggested to the pressured Ottomans to surrender, which they refused. Miloà ¡ planned for a violent assault using large shield-carriers (known as domuz-araba, as used at Paleà ¾), then at midday rode with his flag-bearer Paà ¡trmac and a couple of bodyguards around the moat and informed the Serb units on the attack, shot a couple of bullets at the moat, then signaled for a simultaneous attack.
The field was engulfed with shots and the shield-carriers advanced towards the moat, followed by large numbers of infantry, with some irregular columns in the first line being deterred and pushed back, but were reinforced by subsequent lines and continued the assault. Serb generals ran ahead of the infantry and boosted morale, and stopped men from leaving. MiliàDrinÃÂiàcommanded a detachment that was to take the trench of Ibrahim Ali Pasha. The Rudnik nahiya rebels seem to have been the bulk of assaulters, while the Valjevo nahiya rebels entered in the later stage. Sima Nenadoviàrode in front of the moat on a young horse and yelled "Forward brothers, for the Honorable Cross and Christian Faith!". There was continuous gunfire, with the most daring Serbs standing at the end of the moat and shooting and killing many of the defending Ottoman troops, and screams of agony and for help were heard. The daring Teà ¡a Podrug, Petar ÃÂarko, Boà ¡ko à  ariàand some others climbed the moat and entered the battlement and moat fortification. There was close combat with yatagans inside the fortification, with Serbs attacking from all sides, which put panic in the Ottoman troops. More Serbian troops entered the moat and the screams and howling intensified. Some Ottoman soldiers tried to jump the parapet and run for safety but were cut down. The main Ottoman troops went for the gate where MiliàDrinÃÂiÃÂ's men awaited and fought them, cutting them down one by one into piles. Soon the gunfire calmed down and some Ottomans managed into the shrubs around the moat, where the battle continued for a short time. Only a small number of captives were taken to the generals and Miloà ¡.
Among the captives were Ibrahim Ali Pasha, the commander himself, captured by Teà ¡a Podrug, the ÃÂarakoviàbrothers and Ilija Koreniti, which greatly rejoiced Miloà ¡. He had been found in the shrubs barefoot brandishing a sabre, but he immediately surrendered. Out of 1,300 Ottomans, 80 or 83 were caught and handed over to Miloà ¡, while only a small number managed to their horses and across the Drina, most of them were killed. All of the Nikà ¡iàTurks were killed according to K. NenadoviÃÂ. Arriving at the tent of Miloà ¡, Ibrahim saw the decapitated head of his youngest son, Osman, killed by Skerla from Lipovac in KragujevaÃÂka Jasenica, while his other son was caught alive. All of Ibrahim's belongings were returned to him. The Serbs had minor losses, however, they lost two important commanders in MiliàDrinÃÂiàwho was shot in the nape by the gates, and young Sima Nenadoviàwho assaulted the moat. DrinÃÂiàlikely died from friendly fire, although there are conspiracy theories regarding his death. Milutin Saviàand Cincar-Marko, both distinguished throughout the second uprising, were wounded.
The rebels gained significant booty such as superb weaponry, equipment and noble horses. Miloà ¡ took Ibrahim with him to Crniljevo where they talked in the days following the battle, discussing the cause of the uprising, which Ibrahim understood, and promised he would not raise hands against the Serbs, but also suggested that Miloà ¡ negotiate and put himself under the emperor, and not any foreign power. Ibrahim was then released. Dublje was the last of the conflicts of the uprising. At ÃÂuprija, the Serbs and Vizier Marashli Ali Pasha signed a peace treaty.
The church in Dublje was founded on the 120-year anniversary of the battle. In 2015, there was a 200-year anniversary in Dublje with army representatives and liturgy. There is an annual cultural manifestation in BogatiÃÂ named Boj na Dublju. There is a monument to the battle in the courtyard of the Dublje church.