Wipe your tears and mark your calendars. It's time to get ready for Madison Bumgarner's return to San Francisco. 

The longtime Giants ace and World Series hero reportedly agreed to a five-year, $85 million contract with the Arizona Diamondbacks on Sunday, according to ESPN's Jeff Passan. With MadBum reportedly staying in the NL West, Giants fans still will be able to see the legendary lefty plenty of times. 

Giants fans won't have to wait long to see Bumgarner back in San Francisco. The D-backs visit Oracle Park for a four-game series from April 6-9. 

That won't be the first time Bumgarner faces the Giants, though. San Francisco's second series of the 2020 season is in Arizona, from March 30 to April 1.

Giants president of baseball operations Farhan Zaidi met with Bumgarner's representatives at the MLB Winter Meetings, but it always seemed like a long shot the 30-year-old pitcher would return to San Francisco. 

[RELATED: Giants announce Oracle Park changes with new dimensions]

Bumgarner, a three-time World Series winner, was looking to earn a big payday in his first free-agency tour while hoping to sign with a winner. The Giants, however, clearly are building towards 2021 and beyond as their roster becomes younger. 

Pour one -- or seven -- out and fire off a snot rocket. The Madison Bumgarner Era is over in San Francisco, but he isn't going too far away.