user: Question: What year did the term end for the office elected in 1984
Columns: ['Office', 'Type', 'Location', 'Elected', 'Term began', 'Term ended']
Types: ['text', 'text', 'text', 'real', 'text', 'text']
Sample row: ['State Assemblyman', 'Legislature', 'Sacramento', 1974.0, 'December 7, 1974', 'December 2, 1976']
SQL:

assistant: SELECT "Term ended" FROM "Table" WHERE "Elected" = 1984.0;