Buddha touched His goal of enlightenment after meditating for forty days under his bodhi tree. This idea came to him after the ascetic ways of the Shramana teachers had failed to work for him and he remembered sitting under a tree as a child. During this time he learned of his past lives and saw the past lives of other people. Siddhartha Gautama became enlightened at the age of 35 and was called the Buddha (the enlightened one).
During his enlightenment he pointed towards the earth as a witness of his enlightenment, he was offered to be free from nirvana but his decision was to stay on earth and teach others about the path to enlightenment. He taught his first sermon in the deer park at Sarnath. After his teachings, he died at the age of 80. Enlightenment= A goal in the mind after being focused on meditation..