user: ### NOW ANSWER:
Question: When did the term end that began December 4, 1978?
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" = 'December 4, 1978';