Templates for the state's healthcare of the Hungarian inhabitants were progressively created up until the Age of Enlightenment. One of the most important tasks of the state and public health authorities was to protect the inhabitants from contagious diseases. Educating people from every strata of the population to look after their health was also considered extremely important.