A transgender woman from the lowest caste in India was elected mayor on Sunday, making her the first openly transgender mayor in the country’s history.

Madhu Bai Kinnar was elected mayor of Raigarh, in the state of Chhattisgarh, and beat her opponent from the ruling Bharatiya Janata Party (BJP), by a margin of 4,500 votes. She is a member of the Dalit caste, previously known as the “untouchables,” and previously earned her living singing and dancing on trains, Reuters reports.

The victory comes just nine months after an Indian court ruled that transgender be recognized as a third gender. Transgender people, known in the area as hijras, are classified in India as people who were identify as the opposite of their born gender or who have undergone sex change operations.

“People have shown faith in me. I consider this win as love and blessings of people for me. I’ll put in my best efforts to accomplish their dreams,” Kinnar said in local news reports. “It was the public support that encouraged me to enter the poll fray for the first time and because of their support only, I emerged as the winner.”

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Charlotte Alter at charlotte.alter@time.com.