Xi, in an address to Pakistan's parliament, also called for closer economic cooperation between the traditional allies a day after they launched energy and infrastructure projects in Pakistan worth $46 billion.
Xi has linked economic cooperation with security and said on Tuesday the two countries "share a common stake in security." "Over the years Pakistan has overcome all kinds of difficulties and contributed greatly to the security and stability of China's western border areas and this is something that we shall never forget," Xi told parliament.
China is worried about Muslim separatists from Xinjiang, whom it blames for a string of deadly attacks across China over the past year or so, and believes that they have teamed up with Pakistan-based militants.
Prime Minister Nawaz Sharif said Pakistan considered Chinese security as important as its own.
"We will fight together to eliminate the menace of terrorism. Our joint efforts against terrorism have succeeded so far, but we have to intensify the efforts to achieve our goals," Sharif told parliament.
Ties between nuclear-armed Pakistan and China are underpinned by common wariness of India and a desire to hedge against US influence in South Asia.
They are finalising a long-discussed plan to sell Pakistan eight Chinese submarines.
Although the deal, worth between $4 billion and $5 billion according to media reports, was not mentioned in public during Xi's two-day visit, Sharif said Pakistan was looking forward to more defence cooperation with China.
"Our defence ties are strong and they are poised to become stronger in years to come," Sharif said.
The economic projects launched on Monday are aimed at establishing a Pakistan-China Economic Corridor between Pakistan's southern Gwadar port on the Arabian Sea and China's western Xinjiang region.
The plan, which would eclipse US spending in Pakistan over the last decade or so, is part of China's aim to forge "Silk Road" land and sea ties to markets in West Asia and Europe.
The corridor, a network of roads, railways and pipelines, will pass through Pakistan's poor Baluchistan province where a long-running separatist insurgency will raise questions about the plan's feasibility.
Highlighting those worries, suspected militants attacked a remote air-traffic control radar post in Gwadar district with rocket-propelled grenades and automatic weapons early on Tuesday, an aviation official said. There were no casualties.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
)