"Boe pravde" (Serbian Cyrillic: ; [be prde]; God of Justice) is the national anthem of Serbia, as defined by the Article 7 of the Constitution of Serbia. "Boe pravde" was the state anthem of the Principality of Serbia and the Kingdom of Serbia until 1919 when Serbia became a part of the Kingdom of Serbs, Croats and Slovenes which was formed one year earlier. It was recommended by the regional Parliament of Serbia on August 17, 2004 and constitutionally adopted on November 8, 2006, after Serbia became a sovereign state again. The recommended text was made Law on May 11, 2009. The original song was written in 1872 with music by Davorin Jenko and lyrics by Jovan orevi. It was then a piece for the theater play Marko kazuje na kome je carstvo (Marko names the Emperor), and its immense popularity with audiences prompted its adoption as the Serbian national anthem.
While being the national anthem of the Kingdom of Serbia, it occasionally was referred to as the "Serbian National Prayer" and the original lyrics contained a petition for the Serbian king. Various rulers of Serbia changed the words of the anthem to suit them. During the rule of Prince Milan I of Serbia, the words were "God, save Prince Milan" (knez Milana Boe spasi), which changed to King Milan when Serbia became a kingdom. Later it was tailored to Peter I and Alexander I as well. During the time of the Kingdom of Serbs, Croats and Slovenes (which later became the Kingdom of Yugoslavia), "Boe pravde" was part of its national anthem.
The current anthem uses slightly modified original lyrics, asserting that Serbia is no longer a monarchy four verses are different. In three, "Serbian king" (srpskog kralja) is changed to "Serbian lands" (srpske zemlje) and in one, "God save the Serbian king" (srpskog kralja Boe spasi, literally "The Serbian king, O God, save") is changed to "O God, save; O God, defend" (Boe spasi, Boe brani).
It was also used as the regional anthem of the Republika Srpska, a constituency of Bosnia and Herzegovina until 2006, when it was ruled down by the country's constitutional court for being unconstitutional. and the decision was upheld by the Constitutional Court of Republika Srpska.
In 1992, "Vostani Serbije" and "Mar na Drinu" were proposed as the anthem of Serbia along with "Be pravde". The latter, promulgated by then-ruling Socialist Party of Serbia, even received a plurality of popular vote on referendum, but was never officially adopted.