On July 1, 2018, he was part of a trade by the Blues that sent Vladimír Sobotka, Patrik Berglund, a 2019 first round draft pick, and a 2021 second round draft pick to the Buffalo Sabres in exchange for Ryan O'Reilly.