When was the cameras invented?

Around 1689- 1743 because that is abut around the time he was living