The Chicago White Sox and Lance Lynn have agreed to a two-year, $38 million extension. 

Lynn is 9-3 with a 1.99 ERA this season.

Lynn was set to be a free agent in the offseason after joining the White Sox in a trade from the Texas Rangers in December.

"We are thrilled to be able to keep Lance in a White Sox uniform for the next several seasons," White Sox general manager Rick Hahn said in a statement. "He very quickly proved himself to be not only an All-Star caliber addition to the front of our rotation but also the positive clubhouse presence that we envisioned at the time of the acquisition. We look forward to Lance continuing to be a big part of what we're hoping to accomplish not just in 2021 but now beyond."