Medfield Public Schools consistently ranks among the top ten school systems in Massachusetts by the Massachusetts Comprehensive Assessment System .  As recently as 2017, Medfield was ranked by the U.S. News & World Report as the number 5 ranked school system in Massachusetts. As of 2013, Medfield High School Seniors scored an average of 591 on the SAT Critical Reading Section, 618 on the SAT Math Section, and 598 on the SAT Writing Section. In 2005, Medfield High School and T.A. Blake Middle School switched buildings as a result of a massive construction project updating the current Medfield High School . Public schools:
Question: Which happened first, Medfield was ranked number 5 or Medfield High School and T.A. Blake Middle School switched buildings?
Answer: Medfield was ranked number 5