Tachocline Confinement by an Oscillatory Magnetic Field