human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: District, Incumbent, Party, First elected, Result, Candidates
###Question: Who was the candidate in 1791?
gpt
SELECT Candidates FROM table WHERE First elected = 1791