<human>:  When was the first photograph ever taken?
<bot>: The first photograph was taken in 1826 by Joseph Nicephore Niepce. It was a portrait of his daughter, who was sick with tuberculosis. The picture was taken using a camera obscura, which is a darkened room in which light passes through a small hole and creates an image on a surface.