The history of alcohol consumption in Hungary, like much of the rest of the world, dates back to the time before the state was founded. Smoking, on the other hand, became popular under Turkish influence in Hungary in the early modern period. Both vices were eventually regulated due to their wider detrimental effects on society and the possibility of resultant accidents. Though neither alcohol consumption nor smoking in general was strictly prohibited, legislation attempted to raise awareness of their serious consequences by imposing restrictions and sometimes even fines on perpetrators.