"Elvis is a proven pass rusher in this league whose credentials speak for themselves," said 49ers general manager John Lynch in a statement. "We are ecstatic to add another piece to what we feel is shaping up to be a formidable defensive front."
To make room for Dumervil, the 49ers released offensive lineman Evan Goodman, who was originally signed as an undrafted free agent out of Arizona State in May. The 49ers had failed to address the offensive line in this year's draft.
The 6-foot-4 and 306-pound Goodman had participated in the East-West Shrine game and ran a 5.27 40-time at his pro day.
Dumervil spent the first seven years of his career with the Denver Broncos, the team that drafted the linebacker in the fourth round of the 2006 NFL Draft. He has spent the past four seasons with the Baltimore Ravens. During his career, he has accumulated 352 tackles, 99 sacks, 23 forced fumbles, and an interception during regular-season play.