Max (Matt Damon) blows up Kruger (Sharlto Copley) with a grenade. Spider tries to use the codes in Max's brain to override Elysium's system, but he can't do so without killing Max. Max tells him to do it anyway and Spider reprograms the mainframe to accept all of Earth's population as citizens of Elysium. Elysium sends medical ships down to the planet to heal the wounded. Max dies.