Lee won the Democratic primary election on May 17, 2022, defeating rival Steve Irwin. Though Irwin had an early lead on election night with early and mail-in ballots, Lee emerged with a victory of around 740 votes once in-person Election Day votes were counted. She won the Allegheny County portion of the district by almost 4,500 votes. Most networks had declared Lee the winner by May 20, and Irwin conceded that day.
