 In the late 17th century, all of Hungary was gradually liberated from the Turks by a pan-European alliance led by the Habsburgs.After this, the Habsburg Emperors started to exercise their very aggressive counter-Reformation policy on the liberated territories.Consequently, in the third part of the 17th century and in most of the 18th century, Hungarian Protestants were viewed as second-class citizens in Hungary.