once she died he was appointed as advisor of her husband ferdinand the catholic