includes part of Liversedge) was considered part of the Spen Valley (although it was not part of the former Spenborough Urban District). Heckmondwike ward was for many years a Labour stronghold, but in the 2000s elected two BNP councillors. The BNP councillors were narrowly defeated by Labour in 2007 and 2008. A by-election in 2016 occurred after the murder of Jo Cox, the sitting MP. Cox was killed on 16 June 2016 after being shot and stabbed multiple times by a man associated with far-right organisations. The Conservative Party, Liberal Democrats, UK Independence Party and the Green Party announced they would not contest the by-election as a mark of respect. Another by-election occurred in 2021 following the resignation of Tracy Brabin MP, who was elected Mayor of West Yorkshire on 10 May. The 2021 by-election received considerable media attention because of expectations of a Labour loss following the earlier Hartlepool by-election and a high-profile and divisive campaign by George Galloway for the Workers Party of Britain. The by-election was won by Jo Cox's sister, Kim Leadbeater, with a reduced majority. Members of Parliament Elections Elections in the 2020s A by-election was held on 1 July 2021 following the resignation of MP Tracy Brabin to become Mayor of West Yorkshire. Elections in the 2010s a. Swing is calculated from the 2015 election, not the 2016 by-election which was not contested by major parties. Aleks Lukic's vote change is in comparison to the 2015 election, when he stood as a UKIP candidate. Elections in the 2000s Elections in the 1990s Elections in the 1980s See also List of parliamentary constituencies in West Yorkshire Notes References Parliamentary constituencies in Yorkshire and the Humber Constituencies of the Parliament of the United Kingdom established in 1983 Politics of Kirklees