husband had been poisoned by the Lannisters. Ned subsequently agrees to the appointment to protect Robert. He then travels south to King's Landing with his daughters Sansa and Arya. Catelyn later comes to the capital in secret, under the protection of her childhood friend Petyr "Littlefinger" Baelish, to tell Ned of an assassination attempt on their young son Bran. Ned's longstanding mistrust of the Lannisters is further fueled by Littlefinger's confirmation that the dagger used by the would-be assassin once belonged to Tyrion Lannister. Increasingly disgusted by the political intrigues at court, Ned finally resigns his position when Robert insists on having Aerys' only surviving child, the young Daenerys Targaryen, assassinated in exile. Meanwhile, Catelyn has taken Tyrion hostage at the Eyrie, and in retaliation Jaime Lannister attacks and seriously injures Ned in the street before he and his daughters can depart King's Landing. Visiting a wounded Ned, Robert reappoints him as Hand. Ned eventually concludes that all of Robert's heirs with his wife Cersei are illegitimate, the product of her incest with her twin brother Jaime. Further, Ned suspects that Arryn had been poisoned to conceal the truth. Ned confronts Cersei with his discovery and gives her the chance to escape with her children into exile. Before Ned can tell the king, Robert is fatally wounded while hunting and names Ned Protector of the Realm, to function as regent until his "son" Joffrey comes of age. Ned alters Robert's will, replacing Joffrey's name with "my rightful heir" to make the succession ambiguous. With the palace in chaos, Ned rebuffs multiple offers to increase his own power, instead opting to crown Robert's brother, Stannis Baratheon, as king. Cersei, however, outmaneuvers Ned, and the duplicitous Littlefinger has the city watch arrest Ned instead of Cersei. With all of his entourage slaughtered, Sansa a hostage and Arya escaped but alone, Ned is charged with treason. A deal is struck in which Ned will be spared and sent into exile if he declares Joffrey the rightful king. Fearing for his daughters, Ned makes a public confession of his "treason". The sadistic Joffrey, however, has Ned executed anyway for his own amusement. Later novels Ned's arrest pits the Stark and Lannister forces against each other, and his execution causes a civil war later called the War of the Five Kings. Tyrion Lannister eventually returns Ned's bones to his widow Catelyn, but it is not