SANTA CLARA, Calif. (AP) — The NFC West champion Seahawks are heading to the playoffs.

Russell Wilson threw for 258 yards and a touchdown and the Seattle Seahawks rallied from an early 11-point deficit to beat San Francisco 25-23 on Sunday.

Trevone Boykin converted a pair of third downs with Seattle protecting a two-point lead to help run out the clock.

Now, the Seahawks (10-5-1) will be the third seed in the NFC.