*SP contested in alliance with the Congress party in 2017.