Party general secretary Ram Gopal Yadav said Maharaj Singh Dhangar would be the new candidate for the Agra City seat.
Devendra Baghael had visited a traffic police office on Friday afternoon. During a row with an official, he insisted that auto-rickshaws should be allowed to ply on the Mahatma Gandhi Road.
This is when he referred to Mulayam Singh Yadav in a derogatory manner.
Within hours, the Samajwadi Party hit back. A stunned Devendra Baghael said he would remain loyal to Mulayam Singh Yadav.