Complex sentence: He first appears just prior to the Battle of Yavin, and is shown fighting and dying in that battle.
Split into simpler sentences: He first appears just prior to the Battle of Yavin. He is shown fighting and dying in that battle.