The Arizona Diamondbacks have announced an agreement on a four-year, $32.5 million extension with Nick Ahmed.

The two-time Gold Glove winner's new deal runs through the 2023 season.

Ahmed, 29, was eligible for salary arbitration and had his hearing scheduled for Wednesday.

"At the end of the day, I'd rather be here than anywhere else," he said. "They presented me with an opportunity, I thought long and hard about it, and I took advantage of the opportunity."