During the 18th century the high nobility and the clergy formed the highest class. In contrast, most of the low nobility started to lose money and influence. As hidalgos were losing influence relative to peasants, merchants and artisans, they gathered into a new social class, the bourgeoisie.