Generation of mega-electron-volt electron beams by an ultrafast intense laser pulse