Pakistani soldiers battled Taliban fighters on Wednesday in the streets of a key militant stronghold, officials said, as government forces pressed ahead with their offensive in the tribal region of South Waziristan.

The soldiers were fighting street by street through the mountainous town of Ladha, the military said in a statement. Over the past day, the fighting has left 10 militants dead in Ladha and 30 dead across the region, it said. Eight soldiers have been injured.

In mid-October, the Pakistani government launched an offensive in South Waziristan, a semiautonomous area on the Afghan border seen as the main stronghold in the country of both the Taliban and al-Qaida. The central government has seldom held more than symbolic control in the tribal areas, where the Taliban have operated increasingly openly in recent years.

Ladha is one of the three main Taliban strongholds in South Waziristan, according to the military. Government forces have already taken control of much of another key town, Sararogha, and are expected to launch an attack soon on Makeen, which the authorities have called the “nerve center” of the Pakistani Taliban.

The offensive has drawn retaliatory militant attacks across Pakistan.

Earlier Wednesday, a group of militants ambushed a van as it traveled near Khar, the main town in the Bajur tribal region, killing two female teachers and wounding two other passengers.

Approximately 10 militants hid on both sides of a rural road and sprayed the van with automatic weapons fire as it went past, said local official Adalat Khan. The attackers then fled on motorcycles.

Pakistan’s Taliban fighters are deeply opposed to modern education, particularly for girls, and have blown up schools and attacked teachers across the country.

“This is an alarming sign,” said Fazal Rabi, a senior official with Bajur’s tribal police force. Despite a spate of recent attacks, the government insists Bajur has been free of militants since it forced them out in an offensive earlier this year.

More In: International | News