It ended in a profitable marriage alliance with the Greeks , but later Chandragupta turned to more sober he converted to Jainism , and finally starved to death at the temple of Sravanabelagola .
The temple of Sravanabelagola was the scene of Chandragupta 's death when he died of malnourishment .