Gautama sat under the fig tree with a vow that he would not get up until he got the answers to his questions.
And he meditated and meditated and meditated. A long time passed by.
Finally when the morning star rose in the sky, Gautama became a Buddha or “an enlightened being”. Finally he had the answers to his questions. He realized the truth about suffering and the way to deal with it.
With the awakening Buddha attained Nirvana or a complete liberation. Liberation from the limitations of the body and the mind. He had no desire left in him. Neither any ignorance.
After getting the answers to his questions Buddha was not sure if he wanted to tell other people about it. Initially he thought that people would find it bizarre and nobody would understand him.
But then he realized that many people could benefit from his findings. They were too valuable to keep to the self. There must be some people who would understand him.
So Buddha crystallized his findings in four noble truths. He also developed an eightfold path to deal with suffering and to realize enlightenment.
Buddha started wandering through the villages again and finally came to the old and historic city of Varanasi.