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_50 (party VARCHAR, results VARCHAR, first_elected VARCHAR)
  ### Question:
  What party is the person who was first elected in 2000 and was re-elected?
  ### Answer:
  SELECT party FROM table_name_50 WHERE results = "re-elected" AND first_elected = 2000