It made three flybys of the planet, capturing images of its cratered surface, vast plains, and unique magnetic field.