Photography was invented in 1822 by French pioneer Nicéphore Niépce. He developed a technique called heliography, which led to the creation of the world's oldest surviving photograph, "View from the Window at Le Gras," taken in 1826 or 1827. Niépce's invention was based on earlier ideas related to the camera obscura, a device known since ancient times for projecting images. However, Niépce was the first to capture a permanent image using a photosensitive process. His breakthrough is considered the true beginning of photography as we know it today.