What was the first ever photograph taken?

World's first photograph was taken by French inventor Joseph Nicéphore Niépce in 1826 or 1827. The picture shows outside view of his window in Burgundy, France.

first photograph taken
                                          Source: Metro

Joseph Nicéphore Niépce
                                                             Joseph Nicéphore Niépce (source:wikipedia)