Peña Nieto encouraged foreign investment, particularly in the automotive industry, and for the first time since President Lazaro Cardenas nationalized the oil industry in 1938, in the energy industry.