The end times and the Mahdi

The end times ...
According to Islam, this concept represents a time, near to Doomsday, when Qur’anic morality will come to prevail over all the world. The Prophet Mohammed, peace be upon him, has described it in considerable detail in the hadeeths, that is, his sayings. After the Prophet, a number of great Islamic scholars have given further accounts of the subject. All of these reveal that the end times will contain a number of consecutive events.
In the first stage of the end times, the world will become degenerate because of a number of philosophical systems that deny God. Mankind will move away from the purpose behind its creation, leading to a terrible spiritual emptiness and moral collapse. In the wake of great disasters, wars and suffering, mankind will seek the answer to just one question ‘Where does salvation lie?’
At that very moment of despair, God will charge a “spiritual entity” to call mankind out of the chaos and onto the true path; The Mahdi. The word means “he who leads people to the truth.”