WASHINGTON (AP) Kansas City has agreed to trade quarterback Alex Smith to Washington, a move that spells the end of Kirk Cousins' time with the Redskins and hands the Chiefs' job to Patrick Mahomes.

Two people with direct knowledge of the deal confirmed the move to The Associated Press on Tuesday night on condition of anonymity because the transaction can't be completed until the start of the new league year in March. One person told the AP the Redskins had agreed to a four-year extension with Smith, who had one year left on his contract.

Smith, who turns 34 in May, spent the past five seasons with the Chiefs, leading them to the playoffs four times while throwing for 102 touchdowns and 33 interceptions. He carries a $17 million salary-cap hit for 2018.