Al-Farabi had great influence on science and philosophy for several centuries, and was widely considered second only to Aristotle in knowledge (alluded to by his title of the "Second Teacher"), in his time. His work, aimed at synthesis of philosophy and Sufism, paved the way for the work of Avicenna.