Nicéphore Niépce - View from the Window at Le Gras (1827)
The earliest surviving photograph made with a camera The likely exposure time was around 10 hours.
More information and detail