user: Question: When did the term end that began January 3, 2007?
Columns: ['Office', 'Type', 'Location', 'Elected', 'Term began', 'Term ended']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Mayor', 'Executive', 'San Francisco', 'N/A', 'December 4, 1978', 'January 8, 1980']
SQL:

assistant: SELECT "Term ended" FROM "Table" WHERE "Term began" = 'January 3, 2007';