After the War of Succession, both Crowns finally merged into the Kingdom of Spain and the finance institutions were structured according to the Castilian organization. However, the traditional Castilian model also did not work in a desirable way, due to its own organizational structure and the serious situation in which the Crown's incomes were found. Many of the incomes had been leased to private individuals during the 17th century, shriveling the income of the Royal Treasury.