GHAZNI - Three rockets hit the Afghan city of Ghazni during a visit by President Ashraf Ghani on Thursday, in an apparent display of strength by militants as they ramp up attacks across the country.

The Taliban claimed responsibility for the assault, which came weeks after the group stormed the provincial capital - a two-hour drive from Kabul - and engaged security forces in an intense battle that killed hundreds of people.

No one was killed or wounded in the latest attack, provincial deputy police chief Ramazan Ali Mohseni told AFP. One of the rockets landed about 200 metres (660 feet) from the Ghazni governor’s office, where Ghani was holding meetings with security officials, religious leaders and members of civil society.

Haroon Chakhansuri, a spokesman for the president, played down the incident.

“It was far from the governor’s office,” he said.

Chakhansuri was with the president at the time of the attack and heard one of the three rockets, which he said landed on the outskirts of the city. It was Ghani’s second visit to Ghazni since the Taliban’s raid on the city in early August.

The United Nations estimates at least 200 civilians were killed in the days-long battle that analysts said delivered the Taliban a military and psychological win against the government.

Days later multiple mortar rounds were fired on Kabul, landing near the presidential palace as Ghani delivered a speech on the first day of the Eid al-Adha holiday. The attack was claimed by the Islamic State group.

The Taliban have made significant gains on the battlefield in recent months, amid intensifying Afghan and international efforts to persuade the militants to discuss a peace deal.