It's called Deep Brain Stimulation or DBS. A battery operated pacemaker is implanted to deliver electrical impulses to specific parts of the brain.
Stanford University conducted a trial with more than 100 patients. After three months with the device the rate of seizures was reduced by 40 percent .
Those who opted to keep using the device for three years saw an even greater reduction. The Food and Drug Administration is now considering whether to approve the treatment for epilepsy.