Edward Robertshaw Hartley (25 May 1855 – 18 January 1918) was a British socialist politician. Hartley began work in a mill at the age of ten, before becoming a warehouse clerk and then a butcher. He became an active socialist in 1885, in reaction to serious unemployment in his home town of Bradford. He was a founder member of the Bradford Labour Union and the Independent Labour Party (ILP). He stood for the party in Dewsbury at the 1895 general election, taking 10.4% of the vote, but was not elected. However, he did gain election to Bradford City Council that year, representing Manningham, and held his seat for over a decade. At the 1900 general election, he was nominated in Pudsey, but withdrew on the eve of the poll. Hartley was intended as the ILP candidate for the 1902 Dewsbury by-election, with the support of the local trades council and the Labour Representation Committee, but the rival Social Democratic Federation (SDF) nominated Harry Quelch. Initially, neither candidate would withdraw, but the trades council convinced the ILP to drop Hartley's candidacy. Quelch did not gain the support of the local labour movement, nor of the ILP leadership. Angered by what he saw as pandering to the right-wing of the labour movement, Hartley actively supported Quelch's candidacy and joined the SDF. He founded a new SDF branch in Bradford, in 1904, and was elected to the SDF's executive for seven years, using the position to advocate socialist unity. Yet he remained part of the ILP group on Bradford Council, and was re-elected on the ILP ticket in Bradford Moor in 1905. Hartley stood for the SDF in Bradford East at the 1906 general election, where he held joint meetings with Fred Jowett, Labour Party candidate for Bradford West, and he secured the support of the local ILP. He won 22.8% of the vote, but again missed election. He next stood for the party in the 1908 Newcastle by-election, then back in Bradford East in the January 1910 general election. From 1910 until 1912, Hartley was the secretary of The Clarion Van Movement. He then toured Australia and New Zealand for eighteen months. On his return, he stood in the 1913 Leicester by-election. Sitting MP Ramsay MacDonald had persuaded the Labour Party not to stand a candidate, in the hope of a Liberal victory, but this enabled Hartley to attract the support of