Following the Ottoman conquest of the Kingdom of Hungary, a number of Christian churches were converted into mosques. Those that survived the era of Ottoman rule, were later reconverted into churches after the Great Turkish War.