Police rushed the farmer to a local hospital after he poisoned himself (Representational)

A 39-year-old farmer allegedly tried to commit suicide at an event in Buldhana district of Maharashtra where two state ministers were present, as he was upset over not getting a power connection, police said Sunday.

Ishwar Suprao Kharate, belonging to Vadoda village, on Saturday evening came to an agriculture exhibition being held in Malkapur taluka where Minister of State for Home Ranjeet Patil and district Guardian Minister Madan Yerawar were present, a police official said.

After Mr Patil launched the exhibition, the farmer started shouting that his family had been trying to get an electricity connection for last 38 years, but in vain, the official from Malkapur police station said.

Mr Kharate then allegedly consumed a poisonous substance following which the police caught hold of him, he said.

The farmer was rushed to the district hospital where his condition was reported to be out of danger, the official said, adding that a probe was underway into the incident.