Relativistic electron production from the interaction of a short laser pulse with a overdense plasma, accompanied by an underdense plasma, has been studied via an analytic approach and a numerical simulation. The dynamic chaos responsible for the diffusion acceleration of electrons in the underdense plasma is identified.