When Miami Dolphins offensive tackle Jonathan Martin played at Stanford, he was celebrated as one of the top offensive tackles in college football.

Now, Martin is being reunited with former Stanford coach Jim Harbaugh with the San Francisco 49ers.

He's being traded to the 49ers in exchange for a conditional draft pick. The 49ers and Dolphins have announced the trade.

"We feel that this move is in the best interests of all parties involved," Dolphins general manager Dennis Hickey said in a statement. "We wish Jonathan well."

Martin alleged that teammates, including Richie Incognito, Mike Pouncey and John Jerry, bullied him, subjecting him to taunting, harassment and name-calling.

Martin, whose four-year, $4.8 million contract was signed in 2012 when he was drafted in the second round, sought help at a mental health facility and left the team and was placed on the Dolphins' reserve non-football injury list.

According to NFL investigator Ted Wells, Martin had to deal with "a pattern of harassment.

His teammates, with Incognito accused of being the ringleader, allegedly used racially-charged language against Martin and made sexual jokes about Martin's sister and mother.

Martin's agents met with the Dolphins at the NFL scouting combine to discuss the situation and made it clear that he was ready for a change of scenery.

Now, Martin returns to familiar ground where he's been successful and accepted in the past.

Follow me on Twitter: @RavensInsider

Aaron Wilson covers the Ravens for The Baltimore Sun