Roughly two and a half years after the San Francisco 49ers drafted him to be their franchise quarterback, Trey Lance's time with the team is over.

Sources told ESPN's Adam Schefter that the Niners agreed to trade Lance to the Dallas Cowboys in exchange for a fourth-round draft choice early Friday evening.