Darth Vader died in during the Battle of Endor. His breathing system had been damaged by the Emperor's Force Lightning in an effort to save his son by throwing him at a power reactor. Thus, he redeemed himself and brought back balance to the Force and ended the civil war. His body and armor were cremated by Luke in Endor. However, his grandson Kylo Ren somehow receives Vader's burnt helmet in later time.