According to historian Arnold Toynbee, ibn khaldun developed “philosophy of history” why was this a significant achievement?

According to historian Arnold Toynbee, ibn khaldun developed “philosophy of history” why was this a significant achievement?