Former president Jimmy Carter was released from a hospital Thursday after undergoing surgery for a broken hip earlier this week.

Former President Jimmy Carter in September 2018 Associated Press

Carter, 94, was released from Phoebe Sumter Medical Center and plans to teach his regular Sunday-school lesson at Maranatha Baptist Church in Plains, Georgia, the Carter Center said in a statement.

Carter will continue to recuperate at home from his hip replacement and will undergo physical therapy.

Carter’s wife, Rosalynn, was also admitted to the hospital on Wednesday for observation and testing after she felt faint, the Carter Center said, but she left the hospital with the former president this morning.

“Both President and Mrs. Carter extend their thanks to the many people who sent well wishes the past few days,” the center said in its statement.

In March, Carter surpassed George H.W. Bush as the longest-living president in U.S. history. He was leaving his home in Plains on Monday to go turkey hunting when he fell.