What was the year they made photography in?

Generally accepted to be 1826 when Joseph-Nicephore created the first permanent image taken in a natural setting.