Pashto language originated from which country?

Pashto language originated from which country?

پشتو زبان کس ملک سے نکلی؟
Explanation

Pashto is also the National Language of Afghanistan.