The Petzval lens was invented by Hungarian Joseph Petzval in Vienna in 1839. It revolutionized photography by collecting for more light than previous lenses, thus reducing exposure times significantly.