Qatar mediates between Israel and Hamas. It aided the release of American hostages held by Hamas.