An Afghan army helicopter crashed Wednesday in the western Farah province, killing all 25 people on board, including the deputy corps commander of the western zone, a provincial spokesman said.
The aircraft crashed due to "bad weather" in Anar Dara district, which borders Iran, Nasir Mehri said.
The Taliban claimed its militants brought it down.
Both pilots and 23 passengers were killed.
Among the dead were the deputy army corps commander for western Afghanistan and the head of the Farah provincial council, Mehri said.
Provincial council member Dadullah Qaneh said the helicopter hit a mountain peak in poor weather en route to neighboring Herat province.
Senior government and military officials often travel by helicopter in regions where the Taliban has a large presence.
Helicopter crashes are not uncommon in the mountainous, war-torn country.
In September, an Afghan military helicopter carrying weapons and ammunition burst into flames during an "emergency landing" in Farah, killing at least four people.
Earlier that month at least 12 people were killed, including two Ukrainians, when a helicopter owned by a Moldovan company crashed in the northern province of Balkh.
The aircraft also was carrying munitions and exploded on impact, Afghan officials said.
Western forces have been rebuilding Afghanistan's air force, which was decimated by the civil war of the 1990s and the turbulent period of Taliban rule that ended in 2001.
NATO's Resolute Support mission in Afghanistan has been training pilots and ground controllers across the country as part of a modernization effort.
U.S. Forces' officials told AFP in February that Afghanistan's air force includes four C-130 transport aircraft, 24 C-208 supply planes, 24 Russian Mi-17 helicopters that will be replaced by 159 UH-60 Black Hawks, 12 A-29 Super Tacano attack planes, and 25 MD-530 attack helicopters.
Elsewhere in Afghanistan, a suicide bomber struck outside the country's largest prison on the edge of the capital, Kabul, killing seven people, including prison workers and security personnel, said Interior Ministry spokesman Najib Danish. The attacker targeted a bus carrying prison workers, he said. The sprawling Pul-e-Charkhi prison houses hundreds of inmates, including scores of Taliban insurgents.
Abadullah Karimi, a prison official, said the attack occurred near the prison gate where visitors were waiting to pass a rigorous security check before entering.
No one has claimed responsibility for the attack.