Siddhartha goes into the city one more time and asks his servant to drop him off at the city limits. He then striped himself of all his weathy cloths and toke up wearing just a hunter's cloak. Then he became an ascetic and tries to deprive his body of normal needs. Siddharta got frustrated with this.
Siddhartha got an omen that he would become enlightened. So, Siddhartha then set himself under a bodhi tree and promised himself that he would not move until he was enlightened. Even when the evil demon, mara, sent her three dauters to stop him! He is now the buddha.
And so, the buddha taught the"middle way" until his death and now it is the second biggest religion in India.