To capture the images in the camera obscura
To capture the images in the camera obscura, which had
been known at least since Leonardo's time. When, after about five years of
effort, both Niepce and Daguerre simultaneously succeeded in doing this,
the state, aided by the patenting difficulties encountered by the inventors,
assumed control of the enterprise and made it public, with compensation to
the pioneers.
Cute leonardo :)