DeForest Buckner and Joshua Garnett join a list that includes the likes of Patrick Willis, Joe Staley and Jerry Rice.

2016 - DL DeForest Buckner - 7th overall

2016 - G Joshua Garnett - 28th overall

2015 - DL Arik Armstead - 17th overall

2014 - DB Jimmie Ward - 30th overall

2013 - S Eric Reid - 18th overall

2012 - WR A.J. Jenkins - 30th overall

2011 - LB Aldon Smith - 7th overall

2010 -- OT Anthony Davis -- 11th overall

2010 - LG Mike Iupati - 17th overall

2009 - WR Michael Crabtree - 10th overall

2008 - DT Kentwan Balmer - 29th overall

2007 -- LB Patrick Willis -- 11th overall

2007 -- OT Joe Staley -- 28th overall

2006 -- TE Vernon Davis -- 6th overall

2006 -- LB Manny Lawson -- 22nd overall

2005 -- QB Alex Smith -- 1st overall

2004 -- WR Rashaun Woods -- 31st overall

2003 -- OT Kwame Harris -- 26th overall

2002 -- CB Mike Rumph -- 27th overall

2001 -- DE Andre Carter -- 7th overall

2000 -- LB Julian Peterson -- 16th overall

2000 -- CB Ahmed Plummer -- 24th

1999 -- DT Reggie McGrew -- 24th overall

1998 -- CB R.W. McQuarters -- 28th overall

1997 -- QB Jim Druckenmiller -- 26th overall

1995 -- WR J.J. Stokes -- 10th overall

1994 -- DT Bryant Young -- 7th overall

1994 -- FB William Floyd -- 28th overall

1993 -- DT Dana Stubblefield -- 26th overall

1993 -- LB Todd Kelly -- 27th overall

1992 -- DB Dana Hall -- 18th overall

1991 -- NT Ted Washington -- 25th overall

1990 -- RB Dexter Carter -- 25th overall

1989 -- LB Keith DeLong -- 28th overall

1987 -- OT Harris Barton -- 22nd overall

1987 -- RB Terrence Flagler -- 25th overall

1985 -- WR Jerry Rice -- 16th overall

1984 -- LB Todd Shell (No. 90) -- 24th overall

1981 -- DB Ronnie Lott -- 8th overall

1980 -- RB Earl Cooper -- 13th overall

1980 -- DE Jim Stuckey -- 20th overall
The San Francisco 49ers were awarded four compensatory draft picks on Friday by the NFL: one fourth-rounder, fifth-rounders and two sixth-rounders. Those extra selections were earned based on free agents who left following the 2014 season.
The 49ers now own 12 total selections in the 2016 NFL Draft beginning April 28 in Chicago.
According to the NFL: "Compensatory free agents are determined by a formula based on salary, playing time and postseason honors. The formula was developed by the NFL Management Council. Not every free agent lost or signed by a club is covered by this formula."
For example, players who were released do not count as gains or losses.
By rule, a compensatory pick is awarded to a team "losing more or better compensatory free agents than it acquires in the previous year."
Running back Frank Gore (Indianapolis Colts), guard Mike Iupati (Arizona Cardinals), cornerback Perrish Cox (Tennessee Titans), wide receiver Michael Crabtree (Oakland Raiders), cornerback Chris Culliver (Washington Redskins) and linebacker Dan Skuta (Jacksonville Jaguars) are the six players who departed last offseason.
San Francisco added wide receiver Torrey Smith and tackle Erik Pears in free agency, cancelling out two of the losses.
Here's how the 49ers 12 draft picks break down by round.
1st Round - 1 picks (No. 7 overall)
2nd Round - 1 picks (37)
3rd Round - 1 picks (68)
4th Round - 2 picks (105, 133)
5th Round - 3 picks (142, 145, 174)
6th Round - 4 picks (178, 207, 211, 213)
7th Round - 0 picks
It's worth mentioning that compensatory picks cannot be traded. Beginning in 2017, teams will be allowed to trade these selections.