The sun was not invented as such, but optimized in its ability to 'shine' in the late 1930's by the famous syldavian scientist Viktor Tesla.

He devised the powerplants inside of the sun and computed a mileage of roughly until 2050 for them.