when did he die?
11 June 1847
Afonso, Prince Imperial of Brazil
On 11 June 1847, the young prince was playing in the library of the palace when he experienced a series of strong convulsions and died, 
who was afonso? Prince Imperial and heir apparent to the throne of the Empire of Brazil. when was he born? 23 February 1845 who was he to successor of? Pedro II did he live in a palace? Yes, Palace of São Cristóvão. when was it built? UNANSWERABLE where is it located? Quinta da Boa Vista park in the Imperial Neighbourhood of São Cristóvão, Rio de Janeiro, Brazil. apart from the royals who else resides in this palace? Brazilian Imperial Family is there a museum here? Yes, the National Museum. what impact did the prince have? An isolated and shy Pedro II changed; shared domestic interests that developed into an affectionate friendship.
wiki:11158133
Afonso, Prince Imperial of Brazil [SEP] Death
On 11 June 1847, the young prince was playing in the library of the palace when he experienced a series of strong convulsions and died, not quite two and a half years old. His death revealed that Afonso suffered from epilepsy, as did his father. The grief of Pedro II and his wife was enormous. It was feared that the shock might affect Teresa Cristina's health, as she was pregnant at the time with her third child. She later gave birth without complications on 13 July to a girl, who was christened Leopoldina. The devastated emperor wrote a letter to his stepmother, the Empress Amélia, dated 11 July 1847, telling her of Afonso's death: "With the most piercing grief I tell you that my little Afonso, your godson, unfortunately died of convulsions, which he suffered during five hours on the 4th of last month; and a few days ago little Isabel was put at risk by a strong attack of convulsions that greatly frightened me." A grand state funeral—not seen since the death of Pedro II's sister Paula in 1833—was held for the Prince Imperial at 7 p.m.