Text this: Transient rotation of photospheric vector magnetic fields associated with a solar flare