Question: Who is the incumbent that is a republican and first elected before 1864?
SQL: SELECT Incumbent FROM table WHERE Party = republican AND First elected < 1864