The purpose of this study is to compare the safety and effectiveness of two treatments to prevent relapses in seriously ill patients with major depressive disorder (MDD) who have responded to electroconvulsive therapy (ECT). Patients will either continue to receive ECT (continuation electroconvulsive therapy [C-ECT]), or they will be treated with antidepressant medications.