The petition titled 'UK Government to strongly condemn Pakistan or providing safe haven for terrorists' on the official government website had crossed the 10,000 signatures required to make it incumbent upon the UK government to respond.
"Pakistan has made significant sacrifices in opposing terrorism. The UK has regularly raised with Pakistan the need to take consistent action against all terrorist groups operating within its borders," the response from the UK Foreign and Commonwealth Office (FCO) read.
"We recognise the significant sacrifices that Pakistan and its people have made in combating terrorism. We are helping Pakistan develop its capacity to protect itself and prosecute those who plan and commit terrorist attacks," it said.
The petition, authored by an Indian-origin professional Naman Paropkari, was launched with the aim of gathering as many as 100,000 signatures by the March 29, 2017, deadline so that the issue is considered for a parliamentary debate in the House of Commons.
More From This Section
The 19,429 signatures gathered so far on the UK-wide petition have come largely from London and northern regions of England with heavy Indian-origin populations.
May is scheduled to arrive in India on November 6 for a three-day visit, which will include a bilateral dialogue with Prime Minister Narendra Modi.
The UK's lauding of Pakistan's "significant sacrifices" in combating terrorism comes a day after China staunchly defended its all-weather ally from Prime Minister Modi's terming of Pakistan as a "mothership of terrorism", saying it is against linking any country or religion with terror. China also asked the world to acknowledge Pakistan's "great sacrifices".
The FCO's response to it also highlighted the various ways in which the UK was helping Pakistan combat terrorism, including training on how to detect and disrupt improvised explosive devices, advice on other counter terrorism security matters, such as aviation and airport security and assistance in developing narratives to counter the extremist ideology that is the root cause of terrorism.
The various ways UK is helping Pakistan in combating terror also included guidance on reforming the justice system to ensure that Pakistan can successfully prosecute those who are responsible for attacks in line with international standards on human rights and providing senior support to help develop effective civilian counter terrorism responses through the Prime Minister's Counter Terrorism Capability Envoy, it said.