In the Middle Ages, the Tabán was a village right under the Buda Castle. Remains of significant medieval structures were discovered by archaeologists in 1936. The Turks developed the thermal medicinal baths in the area and brought immigrants from the Balkans. The population increased after the liberation of Hungary from the Ottomans as refugees came from Greece, Bosnia and Serbia. The Franciscans from Bosnia established the parish church in the 17th century which still exists today and the Orthodox inhabitants established their own parish. The Church of Saint Demetrius was built in 1742-51 in Baroque style; it was the largest church building in the whole Metropolitanate of Karlovci. In the 18th century, the town was inhabited by Serbs, Greeks, Vlachs, Germans, Croats, Slovaks and Gypsies.