German Chancellor Angela Merkel and Indian Prime Minister Narendra Modi talk before a signing ceremony at the 4th round of German-Indian government consultation at the Chancellery in Berlin, Germany, May 30, 2017. REUTERS/Hannibal Hanschke

BERLIN (Reuters) - Indian Prime Minister Narendra Modi told German Chancellor Angela Merkel in talks in Berlin on Tuesday that India would stay in the Paris climate accord even if the United States pulled out, a delegation source said.

The official spoke on condition of anonymity.

U.S. President Donald Trump refused to endorse the global climate change accord at a summit of the G7 group of wealthy nations on Saturday, saying he needed more time to decide.