In 1864, Nikolaus Otto patented the first atmospheric gas engine. In 1872, American George Brayton invented the first commercial liquid-fuelled internal combustion engine. In 1876, Nikolaus Otto, working with Gottlieb Daimler and Wilhelm Maybach, patented the compressed charge, four-cycle engine.