The country participated in military action against the Taliban in October 2001 by deploying a frigate in the Arabian Sea for rescue and humanitarian operations. As a result, in November of that year, US president George W. Bush's administration designated Bahrain as a major non-NATO ally. Bahrain opposed the invasion of Iraq and had offered Saddam Hussein asylum in the days prior to the invasion. Relations improved with neighbouring Qatar after the border dispute over the Hawar Islands was resolved by the International Court of Justice in The Hague in 2001. Bahrain negotiated a free trade agreement with the United States in 2004, although Saudi Arabia criticized the move, saying it hindered regional economic integration.