King Louis XIV dealt with the threat from the nobility by allowing them to live in the Versailles palace and intercepting and reading the mail/letters of the nobles. Loyalty from the court nobles was paid off with favors and important social positions.