Turkey's military says a helicopter carrying two commanders came under attack in the country's mainly Kurdish region but that it escaped the area safely and no one was hurt.

A brief military statement said Friday that "terrorists" had fired four shots at the military transport helicopter in Hakkari province, near Turkey's border with Iraq, a day earlier.

Kurdish rebels fighting for autonomy in the region target the military in attacks, but the group declared a cease-fire in March and is withdrawing fighters from Turkey as part of a peace deal. There was no immediate comment from the rebel group on the attack.

The military statement said a bullet hit a front cargo window and was lodged into a control box but the aircraft landed safety at a base in Hakkari.