It's the second-biggest deal for a relief pitcher in baseball history.