FILE PHOTO - A woman walks by the U.S. Capitol is on day 32 of a partial government shutdown as becomes the longest in U.S. history in Washington, U.S., January 22, 2019. REUTERS/Carlos Barria

(Reuters) - The U.S. economy lost at least $6 billion during the partial shutdown of the federal government due to lost productivity from furloughed workers and economic activity lost to outside business, S&P Global Ratings said on Friday.

President Donald Trump agreed on Friday to end the 35-day partial shutdown, the longest in history, without getting the $5.7 billion he had demanded from Congress for a border wall.

“Although this shutdown has ended, little agreement on Capitol Hill will likely weigh on business confidence and financial market sentiments,” S&P said in a news release.