user: Question: What year did finish 1st in LMP1 class?
Columns: ['Year', 'Team', 'Co-Drivers', 'Class', 'Laps', 'Pos.', 'Class Pos.']
Types: ['real', 'text', 'text', 'text', 'real', 'text', 'text']
Sample row: [1981.0, 'Martini Racing', 'Beppe Gabbiani', 'Gr.5', 47.0, 'DNF', 'DNF']
SQL:

assistant: SELECT "Year" FROM "Table" WHERE "Class" = 'LMP1' AND "Class Pos." = '1st';