A factual report on the matter has been sought. (Representational)

A government official in Uttar Pradesh's Ballia tendered his resignation after the district magistrate allegedly misbehaved and made casteist remarks against him, the officials said today.

However, Ballia's DM Bhawani Singh Khangraut denied the allegation saying he had not misbehaved with the officer.

Senior official, UP State Road Transport Corporation (UPSRTC) Bindu Prasad in his resignation letter, submitted on Monday, said he is a Dalit and because of that Mr Khangraut "misbehaved with him" and made "casteist" remarks against him.

In the letter submitted to the Managing Director UPSRTC, Mr Prasad alleged that Mr Khangraut had demanded 15 buses for shifting prisoner's of Ballia jail.

After all the buses reached the jail, he returned to his office, but later, the Mr Khangraut arrived at his office, dragged him by his shirt's collar and took him back to the district jail, the official said.

"As I belong to SC category...the DM made casteist remarks. Due to the DM's act I am feeling humiliated and I am tendering my resignation," Mr Prasad said in the letter.

The MD, UPSRTC, Mr Rajshekhar said he has received Mr Prasad's resignation letter and has sought a factual report on the matter. "I will apprise the government about it after I get the report," Mr Rajshekhar added.