Barkley signed with the 49ers on Thursday, NFL Network's Ian Rapoport reports.

After signing Brian Hoyer to a two-year deal earlier Thursday, the 49ers further bolstered their quarterback situation by adding another former Bear in Barkley. The 26-year-old Barkley showed flashes of potential in his run as the Bears' starter in 2016, completing over 60 percent of his passes in his final five starts and throwing five touchdowns in that stretch. He was prone to turnovers, however, as he tossed a whopping 12 interceptions in that span and 14 interceptions overall. In any case, he'll likely serve as Hoyer's backup in coach Kyle Shanahan's quarterback-friendly system.