Vincent Carchietta-USA TODAY Sports

The New York Yankees re-signed right-handed pitcher Ryan Weber to a major league contract and added him to the 26-man roster on Wednesday.

On June 16, the Yankees designated Weber, 31, for assignment, just after he pitched 3 2/3 innings of relief, giving up one run on two hits, in a 2-1 victory against the Tampa Bay Rays. That was his only appearance of the season for New York.

He elected to become a free agent and signed a minor league contract with the Yankees, who assigned him to Triple-A Scranton/Wilkes-Barre.

In his eighth season, Weber has pitched for the Atlanta Braves, Seattle Mariners, Rays, Boston Red Sox, Milwaukee Brewers and Yankees. He has a 4-12 record with a 5.22 ERA in 64 games (16 starts) over 170 2/3 innings.

The Yankees host the Oakland Athletics in an afternoon game on Wednesday.

More must-reads:

TODAY'S BEST
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Giants rookie CF to undergo season-ending labrum surgery
Hurricanes not expected to re-sign defenseman, center
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Nuggets star has worrying comment about latest injury
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Mets star has theory about closer Edwin Diaz's recent struggles
Scottie Scheffler arrested, still makes PGA Championship tee time
Timberwolves chew up Nuggets to force Game 7

Want more Yankees news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.