Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Ghoryakhel had four sons Khalil, Daulatyar, Zeerani, and Chamkani tribes. The Khalil originally lived in Ghwara Marghay ArghistanQandahar Afghanistan, in the Qalat Zabul and Ghazni. Khalil Mattezai still lives on the Tarnak River basin north of Ghazni. Sheikh Matte BaBa Shrine is close to Tarnak River on the Hill. Mongols invaded the region in 13th century, the Khalils, along with the Mohmands who were also Ghoryakhel son of Daulatyar, Daulatyar had two sons Mohmands and Daudzai, formerly settled in central Afghanistan, were driven out. The Khalil first migrated northeastwards to Kabul and then to Nangrahar further eastwards along the Kabul River. The Khalil came in 1530-1535 from Nangrahar to their present settlement in Western part of the Peshawar valley according to the Babur history book Baburnama and Pashto History Book Pata Khazana written by Abdulhai Habibi.
References
Tate, George Passman. The Kingdom of Afghanistan: A Historical Sketch, 1911. Page 14.