Yinsen, the doctor who saved Tony's life, runs at the Ten Rings to buy time while the Mark I suit powers up, and dies.
Tony takes the Infinity Stones into his own armor and uses them to wipe out Thanos and his army, fatally injuring himself.
Tony's story as Iron Man begins with someone dying so he can live and ends with Tony dying so others can live.