Table: us_house_1860_elections_4
Columns: district
incumbent
party
first_elected
result

Question: Which Result has a Party of republican, and a First elected smaller than 1856?
SQL: SELECT "result" FROM us_house_1860_elections_4 WHERE "party" = 'republican' AND "first_elected" < 1856

Question: Which District has a First elected of 1856, and an Incumbent of william kellogg?
SQL: SELECT "district" FROM us_house_1860_elections_4 WHERE "first_elected" = 1856 AND "incumbent" = 'william kellogg'

Question: Which First elected has a District of illinois 3?
SQL: SELECT MAX("first_elected") FROM us_house_1860_elections_4 WHERE "district" = 'illinois 3'

Question: How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4?
SQL: SELECT COUNT("first_elected") FROM us_house_1860_elections_4 WHERE "result" = 're-elected' AND "party" = 'republican' AND "district" = 'illinois 4'