A star slightly less massive than the Sun merged with a supergiant in Andromeda after entering its surface and completing seven orbits over about seven years. Webb observed the resulting star, nicknamed Bao, 47 days after its 2025 eruption peaked—the earliest follow-up of such an event.