The quarterback spent the past two years in San Francisco.