Because of the importance of social class, sumptuary laws were enacted, regulating dress and housing, including allowable styles, materials and frequency of purchase for different classes. Niccolò Machiavelli in his book The Prince was one of the first authors to theorize economic policy in the form of advice. He did so by stating that princes and republics should limit their expenditures and prevent either the wealthy or the populace from despoiling the other.