In a stern message to Pakistan, British Prime Minister Gordon Brown has said the country's future depends on the action it took against terrorists based on its soil and asked Islamabad [Images] to break the 'chain of terror' and act 'rapidly and decisively' against terror networks.

Brown, who made a statement in the House of Commons on Monday night after returning from an unscheduled whirlwind tour of India, Pakistan and Afghanistan, said Islamabad must ensure that those terrorists who operated from its soil to attack India are 'properly rooted out' and their training camps closed down.

"We (Britain) have offered our support to the democratically elected Government in Pakistan but that government must act rapidly and decisively against terror networks based on its soil," Brown said.

"Pakistan's own future depends on its actions against those within its borders who are bent on disruption of the elected government and Pakistan's relations with its neighbours."

Brown said he had asked Pakistan President Asif Ali Zardari [Images] to break the 'chain of terror'.

He said Britain will work with both India and Pakistan to continue to build counter-terrorism capabilities.

Brown, who offered Pakistan a $9 million pact to combat the menace on Sunday, said during his visit to Islamabad he was able to announce more help for bomb disposal capabilities, scanning devices, airport security, help to draw new laws and to set up counter-extremism centres.

"There is a chain of terror that links the mountains of Afghanistan and Pakistan right through the streets of the UK and other countries around the world and that chain of terror must be broken," the prime minister told the House of Commons.