The San Francisco 49ers made the Alex Smith trade with Kansas City official on Wednesday and also confirmed an agreement with Baltimore to acquire wide receiver Anquan Boldin in a trade.
The 49ers will receive an undisclosed pick in the 2013 draft and an undisclosed draft pick in 2014 from the Chiefs for Smith. San Francisco will give up a pick in this year's draft for Boldin.
"We are excited to add Anquan to our roster," 49ers general manager Trent Baalke said. "He is a highly competitive and productive player with strong leadership qualities that will be a welcome addition to our team and community."
Boldin, a 10-year veteran who has gone to three Pro Bowls, has 772 career receptions for 10,165 yards and 58 touchdowns. The 32-year-old came to the Ravens after playing seven years in Arizona.
"Managing and assembling your roster is difficult and among the most important things we do," Ravens executive vice president and general manager Ozzue Newsome said. "It is not always pleasant, and in the case of Anquan, it is unpleasant. We know he can still play at a high level."
Smith was the No. 1 overall pick in the draft in 2005 and played eight seasons in San Francisco. He led the Niners to the NFC championship game during the 2011 season but was replaced as the starter midway through this past season by Colin Kaepernick after he suffered a concussion.
"We would like to thank Alex for his contributions to the 49ers organization over the past eight years," Baalke said. "He is a true professional who represented the 49ers with class on and off the field."
Smith will join new coach Andy Reid in Kansas City and is likely to become the Chiefs' starting quarterback.
Both players must pass physicals for the deals to be finalized.