Louis XIV controlled the nobility by excluding them from decision-making councils, forcing many of them to live with him at Versailles, and putting power in the hands of royal agents who collected taxes, administered justice, and generally maintained the state.