Joseph Nicéphore Niépce was the first person to create a photograph. The photograph pictured here is an 8 hour exposure shot from his window. This photograph was made in 1826.
Here is a link that explains the beginning of photography for those who do not know the history of photography.
I studied the history of photography in school, and I recommend that if you have a passion for photography, then you should be hitting the books to know where your passion began. Not only will you learn the history of photography, I can guarantee that you will make a viable connection to at least one photographer in the entire history.