No one could have scripted it any better.

Giants outfielder Mike Yastrzemski, playing his first game in grandfather Carl's old stomping grounds, did what the Red Sox legend did so many times: He manned left field, just in front of the fabled Green Monster, and launched a home run at Fenway Park in his team's victory.

The special moment came in the top of the fourth inning of the Giants' series opener against the Red Sox, when Yastrzemski blasted a 3-1 fastball off Boston starter Nathan Eovaldi 401 feet to dead center.

Yastrzemski, who finished 2-for-7 with the homer, one double, one walk and two runs scored, led off the game and received a standing ovation from the Fenway crowd ahead of his first at-bat. He ended up striking out, but he got the better of Eovaldi the next time they faced each other.

"It was incredible, just being able to be in front of family and friends," Yastrzemski told NBC Sports Bay Area's Amy Gutierrez immediately after the Giants' 7-6, 15-inning win, "and I couldn't have asked for a better welcome from the entire crowd. That was special."

Alex Dickerson's pinch-hit sacrifice fly in the 15th eventually ended the marathon, but all the postgame attention was on Yastrzemski, who was born in the Boston suburb of Andover. Tuesday's homer increased Yastrzemski's season total to 20, giving the Giants two outfielders -- Kevin Pillar being the other -- with 20 or more for the first time since 2006, when Barry Bonds and Moises Alou accomplished the feat.

 

[RELATED: Younger Yaz soaks up first Fenway visit as a player]

Perhaps most impressive of all, Yastrzemski's 20 homers have come in just 97 games with the Giants, who acquired the Baseball Hall of Famer's grandson in a trade with the Baltimore Orioles in March.

Not too shabby for a 29-year-old rookie.