WASHINGTON — Qatar is donating $30 million to help people in Texas recover from Harvey, its ambassador said Thursday, as the Persian Gulf nation works to show it’s a constructive global player amid a diplomatic crisis with its neighbors.

The contribution appears to be the largest by far from a foreign government to assist with the hurricane that devastated stretches of the Texas coast. It was announced as the leader of Kuwait, which has been mediating the Qatar crisis, was in Washington discussing the dispute with President Donald Trump and other American officials.

Qatar pledged the funds through the newly created Qatar Harvey Fund, which Ambassador Meshal bin Hamad Al Thani said would work with Texas Gov. Greg Abbott, local organizations and other Texas officials including the Houston mayor.

The funds will be used “to help rebuild communities” affected by flooding.

“Texans are stronger than any storm and will come back bigger and better, and Qatar stands ready to help our friends at every turn,” Al Thani said in a statement.

Abbott said he was “amazed and humbled” at how people from around the world had shown support for Texas after the hurricane.