text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR)
  ### Question:
  When in the 1st league position, how many people watch as they faced West Ham United?
  ### Answer:
  SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united"