The ketogenic diet was invented 100 years ago to stop seizures — and it works, backed by Cochrane Reviews. Because we already use epilepsy medications (Depakote, Lamictal) for bipolar disorder, it follows logically that a diet that stops seizures might also treat psychiatric conditions.