<human>:  Who invented the Ketogenic diet?
<bot>: The ketogenic diet was invented by Dr. Russell Wilder at the Mayo Clinic in the 1940s. He wanted to find a treatment for epilepsy, and found that fasting made seizures worse. His solution was to replace carbohydrates with fats and proteins. The diet has since been modified to be used for weight loss, and to treat other medical conditions.