Peter von Portugal
When her husband died on 9 September 1438, she was appointed regent of Portugal in his will, which was confirmed by the Portuguese Cortes. However, she was inexperienced, in poor health and, as an Aragonese, unpopular with the people, who preferred the late king's brother Infante Peter, Duke of Coimbra. The confirmation of her regency therefore caused a riot in Lisbon. The riot was suppressed by her brother Count John of Barcelona, later King John II of Aragon. Eleanor was supported by the nobility and the will, while Peter was supported by a fraction of the nobility and by the people. Negotiations for a compromise arrangement were drawn out over several months, but were complicated by the interference of the Count of Barcelos, who supported her, and the Archbishop of Lisbon, who supported Peter. This period also witnessed the birth to her of a posthumous daughter, Joan in March 1439 and the death of her eldest daughter, Philippa from tuberculosis.