At about 9:15 a.m., the power went out in Maranatha Baptist Church.

Storms had raged through Sumter County all morning and half of the people crammed into the church were drenched.

>> Read more trending news

It didn’t matter.

Jimmy Carter was back.

Less than a month after falling and breaking his hip, the 39th U.S. president and Plains native was back in church doing what he liked best — teaching Sunday school.

The Rev. Tony Lowden said the moment originally was supposed to happen sooner.

Carter was scheduled to teach Sunday school May 19, less than a week after having hip surgery.

“They sent me in the hospital room to tell him that he could not teach Sunday school,” Lowden told the parishioners before Carter came out for this Sunday’s scheduled 10 a.m. lesson.

Carter surprised Lowden at 9:51 a.m.

“Good morning, everybody,” the 94-year-old former president said.

Using a walker, he strolled over to his chair, a custom-powered chair that rises to his command.

Per the president’s order, no one stands or claps when Carter walks into the sanctuary. He is there to teach.

As is his tradition, he asked each section to call out where they are from.

“South Korea.”

“Germany.”

“Philippines.”

Someone said Washington, D.C.

“Oh,” Carter said. “I used to live there.”

He also asked pastors to stand up and give their denominations and where they were from.

Visitors started lining up at midnight to see and hear Carter.

At 8 a.m., in the pouring rain, a line wrapped around Maranatha for the 10 a.m. teaching.

By 8:55 a.m., everyone was somewhere in the church, having endured the downpour and the Secret Service. Everyone who got in line after 3 a.m. had to sit in a classroom.

A stern usher pointed out the bathrooms.

Several members of the Congressional Black Caucus attended, including U.S. Rep Lucy McBath, who sat next to Sanford Bishop, who sat next to Sheila Jackson Lee. Hank Johnson sat in the back.

Carter broke his hip May 13 and told the class that “Rosalynn and I have had some bad luck lately with our physical health.”

Three weeks before he broke his hip, Carter said that his wife had broken her hip. Then, on the day that he was scheduled to leave the hospital after his surgery, he got a call that Rosalynn Carter had had a stroke.

“I’d liked to have fainted,” Carter said.

Rosalynn actually had a transient ischemic attack, often called a mini-stroke. Both left the hospital two days later.

Wearing a dark suit and a bolo tie, Carter was jovial and funny, although his voice sounded weak at times.

He taught from the Book of John, chapter 14, verses 15-26: The Promise of the Holy Spirit.

He later talked about how Jesus washed the feet of his disciples.

“How many of you have ever washed someone’s feet?” Carter asked. “You put yourself physically at their feet, but you acknowledge them as a superior person. We should be looked upon as servant leaders. All of us need to be servant leaders.”

He then asked people to imagine if every aspect of God’s teaching were implemented on earth.

No hunger. No violence. More love. No fear. Equality.

“It is a little bit hard to conceive it,” Carter said. “But that’s not an impossibility.”

Carter said he got a call a few weeks ago from President Donald Trump, who was responding to a letter he had sent him about the country’s relationship with China,

“I was delighted, and I was surprised,” Carter said. “He was very gracious and expressed his appreciation for my letter. But the main purpose of his call was to say, frankly to me on a private line, that the Chinese were getting way ahead of the United States in many ways.”

Carter said he reminded Trump about how much money the United States spends on the military and wars.

“China has not been in combat with anybody since 1949 and they spend on things good for Chinese people,” Carter said.

“We make the decision, every moment of our life: This is the kind of person that I choose to be. All of us would choose to be as near like Jesus as we possibly can,” Carter said. “Jesus was not rich, he didn’t have a place to stay, he didn’t have friends that were loyal to him at his time of crises, lived to 33, but he led a perfect life.”

That was the extent of any political talk as he gently shifted back to his lesson. But the power still wasn’t back on and the tiny church was getting hot.

At the end of the 45-minute lesson, like any good teacher, he gave homework.

“If you did one good thing for one other person, would it make America a better country?” he asked.

He then told everyone to “find one person in your neighborhood who might be lonely and make it a point to visit them,” Carter said.

“You promise to do that? It will make America a better nation,” Carter said. “That is what the Holy Spirit does. It orients your heart and mind toward servant leadership.”