To understand the event "Ted was dying.  Ted wrote a will.", it is important to know that He wanted some of his personal belongings to go to people he cared about.