Table schema:
CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR)

Question: What is the lowest First Elected, when District is "Massachusetts 10"?
SQL: SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"