Former US President Jimmy Carter out of hospital in Canada

Former U.S. President Jimmy Carter waves to assembled crowd members as he returns to a Habitat for Humanity, Jimmy and Rosalynn Carter Project build site for a press conference in Winnipeg, Friday, July 14, 2017. Carter was not feeling well and had to leave the site yesterday while working with the organization. He was hospitalized for dehydration and returned to the site today. (John Woods/The Canadian Press via AP)

WINNIPEG, Manitoba (AP) — Former U.S. President Jimmy Carter was back at a Habitat for Humanity worksite Friday, a day after he was hospitalized for dehydration while working with the organization to build homes for needy families in Canada.

A smiling Carter showed up in blue jeans and a work shirt to the site in the St. James neighborhood of Winnipeg, where hundreds of Habitat for Humanity volunteers joined the former president and his wife, Rosalynn, to build 25 homes.

Carter, 92, was discharged earlier in the morning from St. Boniface General Hospital where he was treated “as a precaution” for dehydration, Carter spokeswoman Deanna Congileo said.

In this Tuesday, July 11, 2017 photo, former President Jimmy Carter helps build homes for Habitat for Humanity in Edmonton Alberta. Carter was back at a Habitat for Humanity worksite Friday, July 14, 2017, a day after he was hospitalized for dehydration while working with the organization to build homes for needy families in Canada. (Jason Franson/The Canadian Press via AP)

Former President Jimmy Carter was back at a Habitat for Humanity site in Winnipeg the day after being hospitalized for dehydration. (July 14)

“He and Mrs. Carter extend their appreciation for the many well-wishes he received worldwide,” Congileo said.

Carter attended a “devotional” service and then left to spend the day resting. He and his wife were expected at a closing ceremony later at the Canadian Museum for Human Rights in Winnipeg.

In a tweet Friday afternoon, Canadian Prime Minister Justin Trudeau said: “I spoke with Jimmy Carter today to see how he’s doing. Glad you’re OK, Mr. President, and thanks for choosing Canada for 2017′s #Habitat CWP.”

In this Tuesday July 11, 2017 photo, former President Jimmy Carter helps build homes for Habitat for Humanity in Edmonton Alberta. Carter was back at a Habitat for Humanity worksite Friday, July 14, 2017, a day after he was hospitalized for dehydration while working with the organization to build homes for needy families in Canada. (Jason Franson/The Canadian Press via AP)

Habitat for Humanity, which has had a long association with the Carters, is constructing 150 homes this year for people in need in Canada to celebrate the country’s 150th anniversary.

The former president and his wife were in Edmonton, where Habitat is building 75 homes, from Monday to Wednesday before coming to Winnipeg.

Carter had been working for about 90 minutes Thursday morning when he went to sit down in a chair, the Winnipeg Free Press reported. He appeared to wobble, so Secret Service agents led him to his motorcade. He was treated by paramedics who took him away in an ambulance, without using lights or siren, the newspaper said.

This week’s project building houses in several Canadian communities is the 34th time the Carters have pitched in on Habitat projects, lending a hand and their name to promote the work.

Carter was diagnosed with melanoma that spread to his brain in 2015 but announced in March of the following year that he no longer needed treatment. Carter continued to volunteer for Habitat while being treated for cancer, working alongside volunteers at a home in Memphis, Tennessee, in November 2015.