The 49ers were off Sunday, but they still managed to win when it came to NFL draft positioning.

Thanks to the Raiders' last-second 23-21 win over the Arizona Cardinals, San Francisco is in position to select No. 1 overall in the 2019 NFL Draft. 

The 49ers, Raiders and Cardinals all are 2-8 now, but San Francisco holds the first tiebreaker -- the weakest strength of schedule as of Sunday afternoon.

Should the 49ers, Raiders and/or Cardinals have the same strength of schedule, the next tiebreaker is a coin flip. That was the case last season with the 49ers and Raiders, and the Silver and Black selected No. 10 after San Francisco won the toss at the NFL Scouting Combine.

The 49ers can inch closer to securing the top pick in Week 12. They travel to Tampa next Sunday to play the Buccaneers, who are one of nine NFL teams with three or fewer victories after Sunday. 

San Francisco last selected No. 1 overall in 2005, when it drafted Utah quarterback Alex Smith. The Raiders had the top pick two years later and took LSU QB JaMarcus Russell.