Hundreds of protesters trying to topple Pakistan's government briefly seized the state broadcaster on Monday, intensifying the political crisis gripping the nuclear-armed nation.
Transmissions of the main Pakistani Television (PTV) were cut after protesters armed with clubs stormed the building in Islamabad's high-security "red zone", before being removed by security forces after around half an hour.
The dramatic occupation came after fresh street clashes between riot police and followers of opposition politician Imran Khan and populist cleric Tahir-ul-Qadri, in which officers were pelted with rocks and responded with teargas.
Late on Sunday the powerful army called for a peaceful settlement of the political crisis that has shaken Pakistan and weakened the government of Prime Minister Nawaz Sharif.
Khan and Qadri led supporters to the capital on August 15 to try to oust Sharif over alleged election fraud, triggering a crisis that has raised the spectre of military intervention in a country ruled for half its history by the army.
The military urged the government and protesters to settle their differences peacefully, but warned it was "committed to playing its part in ensuring security of the state" after weekend clashes left three dead and hundreds injured.
Sharif met the army chief General Raheel Sharif on Monday to discuss the crisis, military sources said.
- Rocks and teargas -
The crisis escalated on Saturday night when, after two weeks of charged but peaceful protests, violence erupted as followers of Khan's Pakistan Tehreek-e-Insaf (PTI) and Qadri's Pakistan Awami Tehreek (PAT) tried to storm Sharif's official residence.
Fresh clashes erupted on Monday morning as heavy rain fell on the capital, when more than 3,000 demonstrators again tried to march on the building, an AFP journalist at the scene said.
Protesters pelted riot police with stones and some smashed up motorbikes with wooden clubs. Police tried to respond with tear gas but the heavy rain appeared to make it ineffective.
Some managed to breach the perimeter fences of some official buildings, but paramilitary security forces stopped them at the entrance to the PM's house.
Both Khan and Qadri appeared on the shipping containers they have used as stages to urge their supporters not to resort to violence.
An AFP reporter saw more than 300 protesters, many armed with wooden clubs, enter the PTV building shouting anti-government slogans.
Television footage showed some of them beating a photo of Sharif with sticks and spitting on it.
Army and paramilitary forces cleared the building without violence -- they were even cheered and applauded by the protesters as they left.
Both Khan and Qadri tried to distance themselves from the incident, saying their activists were not involved, though several were wearing PTI scarves and t-shirts.
PTV managing director Mohammed Malick told AFP the protesters had "ransacked" the building.
"They destroyed equipment and stole equipment. No one seriously injured but we're pretty shaken up," he said.
- Military intervention? -
After an emergency meeting of top brass in the garrison city of Rawalpindi on Sunday the army voiced support for democracy -- but also stressed its own role in maintaining security.
A military statement opened with backing for the government but ended on a hawkish note, which a senior government official said reflected differing views within the army's top brass.
Pakistan's last period of military rule ended in 2008. But the official said another coup remained "less likely".
A source close to the main opposition Pakistan People's Party (PPP) said Monday that they were opposed to martial law but would not object to a "national unity" government and Sharif's resignation.
The protest leaders claim that the 2013 general election which swept Sharif to power was rigged, even though local and foreign observers rated the polls as relatively fair and credible.
Speaking from the roof of a shipping container Sunday, Khan vowed to continue his protest "until our last breath", adding he would file murder charges against the prime minister over the violence.
The weekend clashes left nearly 500 people injured, including some children and nearly 100 police officers.
The protest leaders have drawn thousands to the streets of Islamabad, but their call has not mobilised mass support in a country of 180 million people.