Question: how did joffrey baratheon die?
Answer: While Joffrey is eating his pie, he commands Tyrion to stay to bring him his wine. Joffrey lies dead in his mother's arms after drinking wine poisoned with the strangler.