Did farmers back the republicans or federalists?