June 26, 2015 3:54 PM EDT
N ear the end of his eulogy for the Rev. Clementa Pinckney—one of the nine victims of last week’s fatal church shooting in Charleston, South Carolina—President Obama led the congregation and those assembled in a rendition of “Amazing Grace.”
Obama also called the late pastor a “man of God who lived by faith.”
See the Funeral Service of Rev. Clementa Pinckney in Charleston Doris Simmons, of Charleston, stands across the street from Emanuel AME Church, the scene of last week's mass shooting, as the sun rises in Charleston, S.C. on June 26, 2015. David Goldman—AP Women dressed in white wait to enter the funeral service for Rev. Clementa Pinckney outside Emanuel AME Church in Charleston, S.C. on June 26, 2015. Win McNamee—Getty Images Members of the clergy wait to enter the funeral service for Rev. Clementa Pinckney in Charleston, S.C. on June 26, 2015. Win McNamee—Getty Images People wait in line to enter the funeral service Rev. Clementa Pinckney in Charleston, S.C. on June 26, 2015. Win McNamee—Getty Images People watch as the hearse carrying Rev. Clementa Pinckney passes by as they line up to enter the College of Charleston TD Arena where his funeral service will be held in Charleston, S.C. on June 26, 2015. Joe Raedle—Getty Images Members of the clergy wait to enter the funeral service for Rev. Clementa Pinckney in Charleston, S.C. on June 26, 2015. Win McNamee—Getty Images Mourners attend the funeral of Rev. Clementa Pinckney at College of Charleston TD Arena in Charleston, S.C. on June 26, 2015. Joe Raedle—Getty Images President Barack Obama sings Amazing Grace during the eulogy at the funeral of Rev. Clementa Pinckney at the TD Arena in Charleston, S.C. on June 26, 2015. Richard Ellis—EPA The wife of Rev. Clementa Pickney, Jennifer, stands with their daughters Malana and Eliana before President Barack Obama delivers the eulogy during the funeral of Clementa Pickney, at the College of Charleston TD Arena, in Charleston, S.C. on June 26, 2015. Mandel Ngan—AFP/Getty Images More Must-Reads from TIME How the Economy is Doing in the Swing States Democrats Believe This Might Be An Abortion Election Our Guide to Voting in the 2024 Election Mel Robbins Will Make You Do It Why Vinegar Is So Good for You You Don’t Have to Dread the End of Daylight Saving The 20 Best Halloween TV Episodes of All Time Meet TIME's Newest Class of Next Generation Leaders