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, Results, Candidates
###Question: What district was John Porter elected in?
gpt
SELECT District FROM table WHERE Incumbent = John Porter