text: However it has had long-standing close relations with its other neighbors Afghanistan , Iran and China , extensive security and economic interests in the Persian Gulf and wide-ranging bilateral relations with the United States and other Western countries .
simplified: It has also had difficult relations with Afghanistan and Iran , however it has had long-standing close relations with China , extensive security and economic interests in the Persian Gulf and wide-ranging bilateral relations with the United States and other Western countries .