sentences:  Farrell lost narrowly to the Parnellite candidate, Patrick O'Brien by a margin of only 667 votes to 681, but a vacancy arose immediately in West Cavan.Edmund Vesey Knox, who had been West Cavan's MP since 1890, was re-elected there in 1895 but also won a seat in Londonderry City, and chose to sit for the latter.The resulting by-election in West Cavan was held on 2 August 1895, and Farell was elected unopposed in the first by-election of that Parliament.