Keenan Allen is headed back to California. The San Francisco 49ers acquired the veteran wide receiver from the Indianapolis Colts for a 2027 sixth-round pick on Tuesday, just hours before the NFL trade deadline, in a deal reported by Tom Pelissero and confirmed by Adam Schefter and Ian Rapoport.

Allen, 34, is a six-time Pro Bowler and 14-year veteran who spent his first 11 seasons with the Chargers. Indianapolis signed him off the street in August, and in eight games with the Colts he caught 40 passes for 351 yards and one touchdown. On an expiring contract with a team going nowhere, he was always a candidate to be flipped — and the Colts turned a free-agent signing into a draft pick.

San Francisco's need was obvious. General manager John Lynch had already addressed the defensive line by acquiring DeForest Buckner from these same Colts, and on Tuesday he fixed the other big hole: a wide receiver room thinned by injuries. Allen is expected to step straight into the starting lineup — against a familiar opponent. He spent Week 9 preparing to face the Dallas Cowboys in a Colts uniform, catching four passes for 26 yards, and will now spend Week 10 preparing to face the Cowboys again, this time in red and gold.

The trade completes a remarkable Indianapolis sell-off. In the span of two weeks the Colts traded guard Quenton Nelson to Seattle, Buckner to San Francisco, and on deadline day sent Josh Downs to Kansas City and Allen to the 49ers. The one star they refused to move at any realistic price was running back Jonathan Taylor, who stayed after no team met the Colts' blockbuster asking price.

Why it matters: a sixth-round pick is a small price for a route-runner of Allen's pedigree in a Super Bowl window, and the 49ers will pay only roughly half of his remaining base salary. The risk is age and health — San Francisco is getting older at the skill positions — but for a team playing the Cowboys this week and January football after that, Allen only has to be himself for nine more games.

What's next: Allen is expected to debut for the 49ers in Week 10 against Dallas. Indianapolis, meanwhile, plays out the string with one of the league's thinnest receiver rooms and a stack of 2027 draft picks to rebuild with.

Sources: NBC Sports; NBC Sports Bay Area; Heavy; Sactown Sports.