Alvin Dark, who was the All-Star shortstop and captain of the New York Giants’ pennant-winning teams in the 1950s and went on to manage the team to a pennant in San Francisco, but who was later shadowed by controversy over his attitude toward black and Latino players, died on Thursday at his home in Easley, S.C. He was 92.

His death was confirmed by his son Gene.

Dark played in three World Series, with the Boston Braves in 1948 and with the Giants in 1951 and 1954. He was the National League’s rookie of the year in 1948, when he hit .322 and helped the Braves capture the franchise’s first pennant in 34 years.

He was an All-Star three times as a Giant, had a career batting average of .289 with 2,089 hits in 14 seasons, and led N.L. shortstops in double plays three times. He teamed with second baseman Eddie Stanky, first with the Braves and then with the Giants, to form one of the finest middle-infield combinations of their era.

He was “the cement that holds the ball club together,” as Manager Leo Durocher said in 1954, just before the Giants clinched the pennant.