The Turkish Ministry of Defense announced this on Twitter.

“Two of our A400M aircraft, sent to Ukraine to provide humanitarian assistance and evacuate our citizens and were at Boryspil airport after the closure of airspace, began returning to their base in Kayseri,” the message says.

In March, Turkish National Defense Minister Hulusi Akar said that two Turkish aircraft remained at the Ukrainian Boryspil airport due to airspace closures.