The story of his illicit relationship with Ines de Castro, her death at the hands of assassins sent by his father, and the ultimate punishment that the assassins received once he became king is very dramatic. It might have influenced other stories, e.g. that of Romeo and Juliet.