SEATTLE (AP) Paul Goldschmidt hit his 22nd homer of the season in the first inning and scored the go-ahead run in the 10th on Jake Lamb's sacrifice fly as the Arizona Diamondbacks beat the Seattle Mariners 4-3 on Monday night.

The Diamondbacks won their third straight despite blowing a 3-2 lead in the ninth inning. They took advantage of control issues by Seattle closer Carson Smith (1-4) in the 10th to regain the lead.

Smith walked two of the first three batters he faced in the 10th, then hit Welington Castillo on the arm to load the bases with one out. Smith was pulled in favor of Vidal Nuno to face Lamb. The Seattle native drove Nuno's pitch deep enough to center for Goldschmidt to score from third.

More from FoxSports