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_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR)
  ### Question:
  What year was Aaron Tveit nominated in the Favorite Male Replacement category?
  ### Answer:
  SELECT AVG(year) FROM table_name_87 WHERE result = "nominated" AND category = "favorite male replacement" AND nominee = "aaron tveit"