Anil Gangaram Sahane alias Sandeep, who hails from Sangamner in Ahmednagar district tried to commit suicide by consuming pesticide outside the Valmiki Gate of Vidhan Bhavan around 11.30 am, a police official said.
The policemen, who were posted at the gate at that time, took him to St George Hospital with the help of some people, who hailed from Ahmednagar district.
"He is out of danger and being treated at St George hospital," the official said.
Marine Drive Police have registered a case of attempt to suicide against Sahane, police said.
The Budget session of the Maharashtra Legislature commenced here today.