|Military of Serbia|
|Equipment and ranks|
The military history of Serbia spans over 1200 years on the Balkan peninsula during the various forms of the Serbian state and Serbian military.
Main article: History of the Serbian Army
Main article: History of the Serbian Air Force
Main article: Medieval Serbian army
The Serbian army in the Middle Ages was primarily consisted of light cavalry and infantry force armed with spear, javelin or bows. With the increasing wealth from mining, mercenary knights were recruited to complement noble cavalry armed with bow and lance. This enabled the Serbs to fight effectively outwith their mountain strongholds. The core of the army consisted of noble cavalry (vlastela) armed with lance and bow in the Byzantine style in early medieval time. These were increasingly supplemented by western style knights, mostly Germans (in Emperor Dušan reign).
Emperor Dušan's military tactics consisted of wedge shaped heavy cavalry attacks with horse archers on the flanks. Many foreign mercenaries were in the Serbian army, mostly Germans as cavalry and Spaniards as infantry. He also had personal mercenary guards, mainly German knights. A knight named Palman was the commander of this unit and was the leader of all German mercenaries. Light horses were provided by Hungarian and Cuman mercenaries. Later in the period Serbian lance armed Hussars took over this role. The infantry still included lightly armed javelin troops although the bow and crossbow became the most important infantry weapon in the 14th century. A western style charge by the armoured cavalry and knights was the main tactic with the infantry used to follow up. Ragusan historian Mavro Orbin recorded that Prince Lazar used cannons as early as 1373 in his war against Nikola Altamanovich in northern Serbia. Despot Stefan has armed his knights with light firearms (musket "Fitiljača"), also with spears, swords, daggers, maces, bow and arrows, crossbows, shields, armours, halberd and cannons. He also introduced Europe style knight tournaments.
The modern Serbian military dates back to the Serbian Revolution which started in 1804 with the First Serbian Uprising against the Ottoman occupation of Serbia. The victories in the battles of Ivankovac (1805), Mišar (August 1806), Deligrad (December 1806) and Belgrade (November–December 1806), led to the establishment of the Principality of Serbia in 1817. The subsequent Second Serbian Uprising of 1815–1817 led to full independence and recognition of the Kingdom of Serbia and weakened the Ottoman dominance in the Balkans. In November 1885 the Serbo-Bulgarian War occurred following Bulgarian unification and resulted in a Bulgarian victory. In 1912 the First Balkan War (1912–1913) erupted between the Ottoman Empire and the Balkan League (Serbia, Greece, Montenegro and Bulgaria). Balkan League victories in the Battle of Kumanovo (October 1912), the Battle of Prilep (November 1912), the Battle of Monastir (November 1912), the Battle of Adrianople (November 1912 to March 1913), and the Siege of Scutari (October 1912 to April 1913) resulted in the defeat of the Ottoman Empire, which lost most of its remaining Balkan territories per the Treaty of London (May 1913). Shortly after, the Second Balkan War (June to August, 1913) broke out when Bulgaria, dissatisfied with the division of territory, declared war against its former allies, Serbia and Greece. Following a string of defeats, Bulgaria requested an armistice and signed the 1913 Treaty of Bucharest, formally ending the war.
Serbia's independence and growing influence threatened neighboring Austria-Hungary which led to the Bosnian crisis of 1908–09. Consequently, from 1901, all Serbian males between the ages of 21 to 46 became liable for general mobilization. Following the assassination of Archduke Franz Ferdinand of Austria in June 1914, Austria-Hungary implicated Serbians and declared war on Serbia (July 1914), which marked the beginning of the First World War of 1914–1918. Serbian forces repelled three consecutive invasions by Austria in 1914, securing the first major victories of the war for the Allies, but were eventually overwhelmed by the combined forces of the Central Powers (October–November 1915) and forced to retreat through Albania (1915–1916) to the Greek island of Corfu (1915–1916).
Serbian military activity after World War I took place in the context of various Yugoslav armies until the break-up of Yugoslavia in the 1990s and the restoration of Serbia as an independent state in 2006.