text: Emerging Estates Royal power quickly declined after Louis I died in 1382. His son-in-law, Sigismund of Luxembourg (), entered into a formal league with the aristocrats who had elected him king in early 1387. Initially, when his position was weak, he gave away more than half of the 150 royal castles to his supporters, although this abated when he strengthened his authority in the early 15th century. His favorites were foreigners, but old Hungarian families also took advantage of his magnanimity. The wealthiest noblemen, known as magnates, built comfortable castles in the countryside which became important centers of social life. These fortified manor houses always contained a hall for representative purposes and a private chapel. Sigismund regularly invited the magnates to the royal council, even if they did not hold higher offices. He founded a new chivalric order, the Order of the Dragon, in 1408 to reward his most loyal supporters.
  The expansion of the Ottoman Empire reached the southern frontiers in the 1390s. A large anti-Ottoman crusade ended with a catastrophic defeat near Nicopolis in 1396. Next year, Sigismund held a Diet in Temesvár (now Timișoara in Romania) to strengthen the defence system. He confirmed the Golden Bull, but without the two provisions that limited the noblemen's military obligations and established their right to resist the monarchs. The Diet obliged all landowners to equip one archer for every 20 peasant plots on their domains to serve in the royal army. Sigismund granted large estates in Hungary to neighboring Orthodox rulers to secure their alliance. They established Basilite monasteries on their estates.