The Atlanta Braves have added Collin McHugh on a two-year, $10 million deal.

The agreement includes a $6 million club option for 2024 with a $1 million buyout. 

McHugh also agreed to donate 1% of his salary to the Atlanta Braves Foundation.

He pitched in relief in 30 of his 37 games with Tampa Bay last season. He was 6-1 with a 1.55 ERA and one save.