"The 49ers are pleased to have reached a long term contract extension with Andy," general manager Trent Baalke said in an announcement from the team. "Andy has established himself as one of the top players in the game at his position. He is a valued member of our organization and community. As we stated earlier this year, it is our objective to keep the core of this team together long term, and this is just another step in that direction."