A newly discovered planet offers insights into the Sun’s demise in 5-6 billion years.