Solar eruptions are well-recognized as major drivers of space weather but what causes them remains an open question. Here we show how an eruption is initiated in a non-potential magnetic flux-emerging ...