How magnetic field structure changes with eruptive events (e.g., flares and CMEs) has been a long-standing problem in solar physics. Here we present the analysis of eruptionassociated changes in the magnetic inclination angle, the transverse component of magnetic field and the Lorentz force. The analysis is based on an observation of the X3.4 flare on Dec.13 2006 and a numerical simulation of a solar eruption made by Yuhong Fan. Both observation and simulation show that (1) the magnetic inclination angle in the decayed peripheral penumbra increases, while that in the central area close to flaring polarity inversion line (PIL) deceases after the flare; (2) the transverse component of magnetic field increases at the lower altitude near flaring PIL after the flare. The result suggests that the field lines at flaring neutral line turn to more horizontal near the surface, that is in agreement with the prediction of Hudson, Fisher &Welsch (2008).