The personal influence of Frederick was limited, making him one of absolute rulers who least made for the state's strength. Although the king, as regent, took part in the conduct of government by attending council meetings, he was afflicted by alcoholism and most of his rule was dominated by very able ministers such as A. G. Moltke, whom he had as a favorite, J. H. E. Bernstorff and H. C. Schimmelmann. These men marked his reign by the progress of commerce and the emerging industry of gunpowder plant and cannon foundry in Frederiksværk, built by Johan Frederik Classen. They also avoided involving Denmark-Norway in the European wars of his time. The country remained neutral even for the duration of the Seven Years' War (1756–63), despite its proximity to combatants Russia and Sweden, an act which undoubtedly shaped the perception of the period as a happy time.