China reiterated its respect and support for the efforts of Pakistan in advancing its counter-terrorism strategy and safeguarding its security, a joint statement said Friday.
"The Chinese side recognized the tremendous efforts and the great sacrifice that Pakistan has made in fighting terrorism," said the joint statement issued during Pakistani Prime Minister Yousuf Raza Gilani's visit to China.
The statement said the two sides shared the view that terrorism, separatism and extremism pose serious threats to regional peace, stability and security, reaffirming their resolve to undertake "substantive cooperation" under bilateral and multilateral frameworks, and jointly fight the three forces.
Pakistan reiterated that it would never allow its territory to be used to attack any country and will continue to support international counter-terrorism cooperation, the statement said.
According to the statement, China said it is "firm on the policy of pursuing friendly ties with Pakistan" and Pakistan stressed that pursuing friendship with China is the "bedrock of Pakistan's foreign policy and enjoys national consensus."
The Chinese side expressed appreciation for the longstanding, firm support of Pakistan on issues that concern China's core interests. The Pakistani side appreciated the strong support and selfless assistance of the Chinese government and people for its economic and social development.
"The Chinese side reiterated that it believes Pakistan's sovereignty, independence and territorial integrity should be respected and its efforts for promoting peace and stability in South Asia should be recognized and supported," the statement said.
The Pakistani side reiterated its firm commitment to the one-China policy and support for China's reunification, it said.
The statement said the two sides will prioritize intensifying cooperation in infrastructure, energy and agriculture.
Noting the recent progress in mutually-beneficial cooperation in the financial and banking sectors, the statement said the two sides are negotiating a currency swap agreement and the Industrial and Commercial Bank of China (ICBC) will soon open branches in Pakistan.
During Gilani's visit to China, the two sides signed three agreements and memoranda of understanding on cooperation in economic assistance, finance and mining.
The two sides reiterated they will continue to enhance mutual trust and cooperation in military and security for peace, security and stability of the two countries and the region.
The two sides also agreed to give further impetus to exchanges and cooperation in maritime security, the statement said.
Gilani arrived in Shanghai for an official visit on Tuesday night and concluded his trip Friday evening.
During the visit, President Hu Jintao, Premier Wen Jiabao and top political advisor Jia Qinglin, respectively, met and held talks with him.
This year marks the 60th anniversary of the establishment of diplomatic ties between China and Pakistan and is also known as a "China-Pakistan Friendship Year."