ISLAMABAD — Tens of thousands of protesters armed with wire cutters and backed by cranes broke through barriers protecting Pakistan's parliament and other government buildings Tuesday night, demanding the country's prime minister resign.

Government authorities had warned they would not allow protesters to enter Islamabad's "Red Zone," but the demonstrators met no immediate resistance from police or the hundreds of troops guarding the buildings.

Wearing masks and carrying makeshift shields, they hammered through barbed wire and locks connecting shipping containers that had been erected as a barrier around the zone, which also holds the president's and prime minister's ceremonial homes and many diplomatic posts.

Demanding the resignation of Prime Minister Nawaz Sharif, they shouted, "Go, Nawaz, go!" Excited young men and women made V-for-victory signs.

A government minister, Saad Rafiq, said the prime minister allowed the protesters to enter the sensitive area to avoid bloodshed.

The Pakistani army warned the protesters against entering parliament or any other installation. It called on all sides to resolve the situation through discussion.

Men, women and children took part in the protest by some 30,000 supporters of opposition candidate Imran Khan and anti-government cleric Tahir-ul-Qadri.

Both men have called on Sharif to step down over allegations of fraud in last year's election. Sharif has refused and ordered the soldiers out into the streets, the first such military deployment in the capital under any civilian government in Pakistani history.

Two Pakistani security officials said 700 troops had been deployed to guard the Red Zone. They spoke on condition of anonymity because they were not allowed to speak publicly about troop movements. An additional 30,000 members of the country's security forces were also deployed in the capital, authorities said.

The demonstrators have camped out in Islamabad in two rallies since last week. Khan and Qadri have vowed to keep up the sit-ins until Sharif resigns.

Khan said Tuesday that his supporters would make a "Tahrir Square" outside parliament, referring to the square in Egypt where mass protests in 2011 brought down President Hosni Mubarak.

"Let us promise that we will remain peaceful," Qadri urged followers. Khan told supporters: "No one will trespass into any building."

Sharif has agreed to set up a judicial commission to investigate allegations that his Pakistan Muslim League-N rigged the elections.

The standoff has raised fears of political instability in this nuclear-armed country of 180 million, which has largely been ruled by dictators since independence in 1947. Both opposition leaders picked Pakistan's Independence Day to begin their marches.

Relations between Sharif and the military frayed when the government decided late last year to prosecute former army chief Pervez Musharraf on treason charges.

The military has also bristled at accusations that its powerful spy chief was behind an assassination attempt against a powerful television anchor.

In Washington, State Department spokeswoman Marie Harf said: "We urge all sides to refrain from violence, exercise restraint and respect the rule of law."

The Islamabad rallies come as Pakistan's military wages a major operation against militants. The military said it carried out airstrikes Tuesday in the Khyber and North Wazristan tribal region that killed 48 militants.

Pakistan's tribal regions are off-limits to journalists, making it difficult to verify such claims.

Growing U.S. pressure on Lebanon's Iranian-backed Hezbollah group, including a new wave of sanctions targeting its top leadership, may hamper the formation of a new government that caretaker Prime Minister Saad Hariri was overwhelmingly chosen to form on Thursday.

Priyanka Chopra, actress and a goodwill ambassador of the U.N.'s children's agency, says the world should be more compassionate to hundreds of thousands of Rohingya children who desperately need help in Bangladeshi camps where they have been sheltered.

Airstrikes overnight in eastern Syria killed at least 12 pro-government fighters, all reportedly foreign nationals, a war-monitoring group said Thursday. The Syrian government-run media blamed the strikes on the U.S.-led coalition fighting the Islamic State group.

Italy's premier-designate Giuseppe Conte spent his first day on the job Thursday finalizing his proposed Cabinet list as European officials vowed to judge deeds, not words, from a euroskeptic and populist Italy in their ranks.