The Washington Nationals agreed to trade stars Max Scherzer and Trea Turner to the Los Angeles Dodgers on Thursday night, according to multiple people with knowledge of the situation, dramatically altering their roster while signaling a rebuild just two years after they won the World Series.

After fielding a contender for a decade and building for another playoff run this season, the Nationals will instead fuel the Dodgers’ quest for back-to-back championships and try to restock their thin farm system. As of late Thursday, the trade was agreed upon but pending medical reviews for all players involved.

The deal, expected to be completed before Friday’s 4 p.m. Major League Baseball trade deadline, takes two more title-winning cornerstones out of Washington. Also gone are Anthony Rendon, Howie Kendrick, Sean Doolittle and Adam Eaton, among others. Stephen Strasburg underwent season-ending surgery this week. They all celebrated a title in Houston less than two years ago yet are scattered around the majors, in retirement or, for Strasburg, facing a second months-long recovery in as many seasons. The club’s entire makeup has shifted to a new era with reworked goals.