Afghan security forces keep watch at the site of a blast in Kabul on Tuesday. Omar Sobhani/Reuters
The Taliban insurgent group claimed responsibility for two blasts which it said killed dozens of people in Afghanistan on Tuesday.
The suicide attacks targeted Afghan security forces, the group's spokesman said.
Afghan Taliban send team to Russia after US talks collapse
Taliban suicide car bomber kills 4 Afghan troops
The explosions, in the capital Kabul and central province of Parwan, killed at least 45 people and injured dozens, according to police and health officials.
An explosion near an election rally attended by Afghan President Ashraf Ghani, a health official said, but Ghani was unhurt according to an aide.
Ghani had been due to address the rally in Charikar, capital of Parwan province, north of Kabul, when the suspected militant attack occurred.
"Women and children are among them and most of the victims seem to be the civilians. Ambulances are still operating, and the number of casualties may rise," said Abdul Qasim Sangin, head of the provincial hospital.
A local government official said the attack was carried out by a suicide bomber.
"The president is unharmed," Ghani's aide told Reuters.
There was no claim of responsibility from any militant group after the blast.
In a separate incident, an explosion killed at least three people in the centre of Kabul, police officials said. Ambulances and Afghan forces rushed to the blast site.
Taliban commanders have vowed to intensify clashes with the Afghan and foreign forces to dissuade people from voting in the Sept. 28 presidential election, when Ghani will bid for a second five-year term.
Security at rallies across the country has been tight following threats by the Taliban to attack meetings and polling stations.
Peace talks between the United States and the Taliban collapsed last week. The two sides had been seeking to reach an accord on the withdrawal of thousands of American troops from Afghanistan in exchange for security guarantees from the insurgents.
The talks, which did not include the Afghan government, were intended as a prelude to wider peace negotiations to end more than more 40 years of war in Afghanistan.
Green Village is separate from the nearby Green Zone, a walled-off and heavily fortified part of Kabul that is home to several embassies including the US and British facilities.
Daesh said one of its fighters blew himself up at a "large gathering" in Kabul while others "detonated a parked explosives-laden vehicle" when security forces arrived, in a statement posted on the Telegram messaging app.
The bloodshed in the capital comes amid an ongoing surge in attacks across Afghanistan, where some 1,500 people were killed or injured last month alone.
Sher Mohammad Abbas Stanikzai also defended the Taliban's role in recent bloodshed across the country after US President Donald Trump cited an attack that killed an American soldier as his reason for calling off negotiations earlier this month.
Ismail Berabih lost his mother two years ago, and he entered into a state of great shock and sadness, and decided to sleep next to her grave every day, according to Algerian local media.
A snowy avalanche in northern Pakistan killed 11 people on Saturday, including a 4-year-old boy, and injured 25 from a nomadic tribe as they crossed a mountainous area with their goat herds, police said.
At least 50 children — at least two dozen of them babies - have died at the orphanage in the six weeks since the war broke out in mid-April, according to Dr Abdullah.
“Every story comes to an end and this is only the beginning of a new era for our country (Saudi Arabia) and our region.so just like to thanks everyone who had helped us,” Rayana Barnawi said.