In the Balkan Wars, he was the Chief of Staff of the 1st Army, which scored huge success in battles of Kumanovo, Bitola and Bregalnica. Given that the commander was the militarily infinitely less experienced crown prince Alexander who had to rely heavily on his chief of staff - the appointment made him effectively the commander of the army. He took part in peace negotiations with Turkey, held in London in 1913, as a military expert in the Serbian Government delegation.
World War I
At the start of World War I, he was given command of the 1st Army. His army suffered huge losses at the Battle of Drina in 1914, but managed to stop the Austro-Hungarian offensive. Bojović was wounded in the battle, and was replaced at the army general position by Živojin Mišić. In January 1916, he was appointed Chief of General Staff for a second time in place of the ailing vojvoda Radomir Putnik, who was carried by his soldiers to the city ofSkadar. He held that position until June 1918, when he resigned because of disputes with the allied generals on the issue of widening the Thessaloniki Front. He returned to his position Commander of the 1st Army, which broke the enemy lines and advanced deep into the occupied territory. He received the title of Field Marshal on for his contribution during the war.
Inter-war years and World War II
In 1921, he was appointed Chief of the General Staff of the Yugoslav Army, and in 1922 he withdrew from active service. At the very beginning of World War II, Petar Bojovic was appointed Deputy Commander-in-Chief of the Yugoslavian Armed Forces by the young King Petar II Karađorđević. However, because of his old age, he did not participate in the events that followed.
Death
Petar Bojović was beaten on 19 January 1945 by a group of Partisans who came to forcibly evict him from his home in Trnska street in Belgrade. According to an alleged testimony: Bojović soon died of the injuries sustained. His body was transferred to the Belgrade New Cemetery in a wagon on 20 January 1945 and the burial was held privately. To prevent his being paid tribute, the Communists on Radio Belgrade announced that anyone who tried to come to Bojović's funeral would be arrested and prosecuted. The new Administration in 1945 named one of the important streets in Belgrade after Vojvoda Bojović. It is a street previously called Donjogradski bulevar, which is today called Bulevar vojvode Bojovića. In 1990 a monument to Bojović was erected in the small park in the Kalenić neighborhood. The park, which is encircled by the small roundabout, became known as the "Park of Vojvoda Bojović".