Former U.S. President Jimmy Carter collapsed at a Habitat for Humanity build in Canada Thursday.

The 92-year-old received medical attention for dehydration at the scene, according to the CBC.

RELATED: Former President Jimmy Carter surprised everyone on a flight to Washington, D.C., with this kind gesture

The Canadian news organization reported that firefighters and paramedics rushed to him, and an ambulance was brought in.

Carter was taken to the hospital as a precaution but has since told organizers he is feeling fine, the CBC reported.

“He encourages everyone to stay hydrated and keep building,” a spokesperson told media.

Former President Jimmy Carter collapsed while helping build a Habitat for Humanity home AP Jimmy Carter Habitat for Humanity