During the history, the region of Baranya was part of the Roman Empire, the Hunnic Empire, the Kingdom of the Ostrogoths, the Kingdom of the Lombards, the Avar Kingdom, the Frankish Empire, the Balaton Principality, the Bulgarian Empire, the Kingdom of Hungary, the Ottoman Empire, the Habsburg Monarchy, the Austrian Empire and the Austria-Hungary. Since 1918/1921, the region was divided between Hungary and the Kingdom of Serbs, Croats and Slovenes (later known as Yugoslavia).
The region of Baranya was settled by the Slavs in the 6th century, and in the 9th century, it was part of the Slavic Balaton Principality.
Hungarians arrived to the area in the 9th century, and Baranya county arose as one of the first comitatus of the Kingdom of Hungary, in the 11th century.
In the 16th century, the Ottoman Empire conquered Baranya, and included it into the sanjak of Mohács, an Ottoman administrative unit, with the seat in the city of Mohács.
In the end of the 17th century, Baranya was captured by Habsburg Monarchy, and was included into Habsburg Kingdom of Hungary.
In 1848, the proclaimed borders of Serbian Vojvodina included Baranya, but the Serbian troops did not manage to take control of the region.
In 1918, the entire region was captured by Serbian troops and was administered by the newly created Kingdom of Serbs, Croats and Slovenes (later Yugoslavia).
By the Treaty of Trianon (part of the Versailles peace) in 1920, the Baranya region was formally divided between Hungary and the Yugoslavia, but de facto remained under the administration of the latter until 1921.
On August 14, 1921, the Serb-Hungarian Baranya-Baja Republic was proclaimed. It included Baranya and northern part of Bačka region, and was led by the President of the Executive Committee (14–25 August 1921 Petar Dobrović. On August 21-25, 1921, the territory of the Republic was divided between Hungary (represented by Hungarian Commissioner Károly Soós Bádoki) and the Kingdom of Serbs, Croats and Slovenes, as was previously decided by the Treaty of Trianon.
The northern part of Baranya in Hungary was included into Baranya county. The southern part of the region was part of Bačka county between 1918 and 1922, part of Bačka oblast between 1922 and 1929, and in 1929 it was included into the Danube Banovina, a province of the Kingdom of Yugoslavia. In 1941, the Yugoslav Baranya was occupied by Hungary, but it was returned to Yugoslavia in 1944.
Since 1945, Yugoslav Baranya was part of the Socialist Republic of Croatia. During the War in Croatia in 1991 it came under control of the SAO Eastern Slavonia, Baranja and Western Srem, which became part of the Republic of Serbian Krajina. After the war ended in 1995, it was peacefully returned to Croatia by the Erdut Agreement. According to the agreement, it was administered by the administration of the United Nations until 1997, when it was returned to full sovereignity of Croatia. Today, it is part of that republic's Osijek-Baranja county.