user: Question: Which deputy prime minister left office in 2004 and was in the 7th Legislature?
Columns: ['Deputy Prime Minister', 'Took office', 'Left office', 'Prime Minister', 'Term', 'Party']
Types: ['text', 'real', 'text', 'text', 'text', 'text']
Sample row: ['Agustín Muñoz Grandes', 1962.0, '1967', 'Francisco Franco', "Franco's dictatorship", 'Military']
SQL:

assistant: SELECT "Deputy Prime Minister" FROM "Table" WHERE "Term" = '7th Legislature' AND "Left office" = '2004';