He invented the direct predecessor of the modern internal combustion engine. In partnership with Eugen Langen, who supplied the capital investment, in 1864 Otto produced an engine driven by a free piston powered by the explosion of a compressed mixture of vaporized petroleum and air, followed in 1876 by a four-stroke compressed-charge engine.