Robinson held the world welterweight title from 1946 to 1951 , and won the world middleweight title in the latter year .
He won the welterweight and middleweight world championships .