Randy Gregory was about to leave the Denver Broncos
The San Francisco 49ers traded for him
The trade involved draft picks
Gregory passed his physical but couldn't play until Week 5
Gregory had signed a big contract with the Broncos but didn't perform well
He had just three sacks in 10 games and lost playing time
Broncos planned to release him if no trade happened
The 49ers' pass rush was struggling