Apr 21, 9:39 AM EDT

Chinese president applauds Pakistan's anti-terror efforts

AP Photo
AP Photo/Li Xueren

Video photo gallery on trash in China
China celebrates 60th year
Panorama of Tiananmen Square
Remembering Tiananmen
A year after China quake
Migrant laborers struggle to find work
Checking Beijing's Air
China's morning exercises in parks
Exploring Chinese Cuisine
Beijing Architecture Changes For Games
Woman Rescues Homeless Quake Dogs
China Holds Funeral for Panda
China's 1-child Policy Causes Extra Pain
Map of Earthquake Zone in Central China
Entrepreneurs Move Into, Out of China
Olypmics in Beijing Highlight China's Water Woes
Foreign Buyers Head to China Despite Problems
Coal Use Produces Pollution, Illness
Coal Means Profit, Woes for China
China Extending Its Reach Around the World
In China, the Desert Closes In
Latest News
In China, Taiwan party leader calls for more global access

UN official praises China's assistance to Nepal after quake

US pilot, Chinese killed in light aircraft crash in China

China teaches top cadres Western ideas despite backlash

Police in southern China raid office of car-hailing app Uber

Buy AP Photo Reprints
Interactive about flood-hit areas in Asia
Floods in Pakistan
Battling Taliban in Pakistan
A village destroyed: On the front lines of the Pakistan-Taliban conflict
Timeline on embassy attacks
Latest News
Pakistan military says strikes kill 44 suspected militants

Pakistanis see double standard in drone strikes

Pakistan court jails 10 for involvement in attack on Malala

Pakistan drops case against ex-CIA chief, agency's lawyer

Police: Pakistan guard shoots, kills himself at US Consulate

Pakistan expresses shock over deaths of US, Italian hostage

Pakistan militant mourns loss of al-Qaida commander

Photo Gallery
Pakistan Elections
Audio Slideshow
Panorama of Tiananmen Square
Remembering Tiananmen
Child labor in Pakistan

ISLAMABAD (AP) -- Chinese President Xi Jinping on Tuesday applauded Pakistan's anti-terrorism efforts and vowed his nation would continue to stand by its neighbor as he wrapped up a two-day visit meant to boost bilateral ties and assure Islamabad of Beijing's support.

"We in China have a great admiration for the people of Pakistan," Xi told Pakistani lawmakers in a speech before parliament, adding that the Chinese people will always stand together with "dependable" Pakistani friends.

Xi said the ties between the two countries were based on mutual trust and a friendship that was truly unique. The lawmakers gave the Chinese leader a standing ovation. Military leaders and foreign ambassadors also attended the event.

Xi pledged that China and Pakistan will always move forward together and the Chinese people will always stand together with the Pakistani people. He spoke in Chinese language, and an official translation into English was provided.

He said both the countries shared common stakes in security and that Pakistan had contributed greatly to security and stability of China's western border.

"This is something that we should never forget," he said.

In his own speech after Xi's, Pakistani Prime Minister Nawaz Sharif pledged to strengthen ties between the two countries.

"We will fight together to eliminate the menace of terrorism," he said.

Xi arrived Monday to Islamabad, where he and Sharif oversaw their ministers and other officials signing 51 deals.

The Chinese leader brought with him investment projects worth $45 billion in energy and infrastructure construction, Pakistani Minister for Planning and Development Ahsan Iqbal said. Up to $37 billion would be spent on Pakistan's troubled electrical grid, Iqbal said.

Of the total investment, Iqbal said, $28 billion projects were ready to be rolled out, while it will take three to five years for rest of them to take start.

China and Pakistan long have maintained close political and military relations, based partly on mutual antipathy toward neighbor India. However, stronger China-India ties have challenged that perception and Xi's visit seems intended to reassure Pakistan.

Xi postponed a visit to Islamabad last year due to anti-government protests in Pakistan and instead traveled to India. China also is eager to boost trade and investment with New Delhi, and Indian Prime Minister Narendra Modi is expected to visit Beijing in the coming weeks.

China is a leading arms supplier to Pakistan and has sought its help in combating anti-Chinese Islamic separatists reportedly hiding in Pakistan's lawless tribal areas. China also wants to enlist Pakistan's help in stabilizing Afghanistan as U.S. and international troops wind down their presence there.

After their speeches in parliament Tuesday, Xi and Sharif left for the nearby presidential palace where Xi received Pakistan's top civilian award, the Nishan-e-Pakistan.

After the ceremony, Pakistani civilian and military leadership escorted Xi to an air force base where they saw him off as he and his wife waved goodbye before boarding an Air China plane. State-run Pakistani TV aired the departure live. Pakistani air force said its fighter jets escorted his plane out of country's air space.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Learn more about our Privacy Policy and Terms of Use.