Ultrafast light-induced driving of phonons at resonance in a substrate facilitates the permanent reversal of the magnetic state of a material mounted on it.