The Ravens announced on Friday they have agreed to terms on a two-year contract with veteran guard Bobbie Williams. Williams, 35, was a mainstay at right guard for the Cincinnati Bengals since 2004, starting 118 games in eight seasons in Cincinnati. Williams spent his first three seasons with the Philadelphia Eagles.

His final season in Cincinnati was a rough one. Williams was suspended for the first four games of the 2011 season for a violation of the league's policy on performance enhancing drugs. In Week 14, he broke his ankle in a loss to the Houston Texans and was placed on injured reserve, ending his season.

“Bobbie is a guy who has been in the league for a long time,” head coach John Harbaugh said. “We’ve played against him, and we like his style of play and his demeanor as a person and as a player. We’re excited to have him as a member of our team.”

Even after selecting two linemen, Kelechi Osemele and Gino Gradkowski, in April’s draft, the Ravens said they were still looking to bolster the depth on the offensive line. Osemele and Gradkowski are competing with second-year lineman Jah Reid for the starting left guard spot, which was left vacant when Ben Grubbs signed with the New Orleans Saints. Now Williams, who has limited experience at left guard, could be in the mix.

Williams is listed at 6-foot-4, 345 pounds. He was a second-round draft pick of the Philadelphia Eagles in 2000, though he didn't make his NFL debut until 2001. He signed with the Bengals as a free agent in 2004.

Williams turns 36 on September 25.