SCHEMA:
CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR)
User Question:
When in the 1st league position, how many people watch as they faced West Ham United?


SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united"