When was Solar Energy Invented?

Solar energy was invented in the 1800’s. Solar energy was observed in that the presence of sunlight was capable of generating electrical energy.