Associated Press
In this Oct. 26, 2011 file photo, former U.S. Sen. and presidential candidate John Edwards leaves federal court after an appearance in Greensboro, N.C.

GREENSBORO, N.C. — Ex-presidential candidate John Edwards has a life-threatening heart condition that will require surgery next month, his doctor told a judge presiding over Edwards' upcoming court case over possible campaign violations.

A cardiologist for the 58-year-old ex-North Carolina Senator wrote two letters about his condition to Judge Catherine Eagles who talked about them Friday during a hearing to consider whether the trial would go on later this month. She delayed it until at least March 26.

Edwards walked into the courtroom in Greensboro without assistance and appeared healthy. The judge requested that he be there.

The judge did not give any more details about what sort of surgery or what illness Edwards may have.