Ender takes the egg and, with information from the Queen, writes "The Hive Queen" under the alias "Speaker for the Dead". Peter, now the leader of Earth and age 77 with a failing heart, recognizes Ender as the author of "The Hive Queen". He asks Ender to write a book about him, which Ender titles "The Hegemon". The combined works create a new type of funeral, in which the Speaker for the Dead tells the whole and unapologetic story of the deceased, adopted by many on Earth and its colonies. In the end, Ender and Valentine board a series of near-lightspeed starships and visit many worlds, looking for a safe place to establish the unborn Hive Queen.