The ketogenic diet was first used back in the 1920s as a treatment for epilepsy and has recently started gaining popularity again with athletes who want to increase their performance while remaining in ketosis.