American Pharoah's team just won the first Triple Crown in 37 years. And in addition to carving their names into the history books, they also won a small share of money for their win at the Belmont Stakes on Saturday. 

It appears that making history was enough for jockey Victor Espinoza and trainer Bob Baffert and his wife, Jill -- because they just donated a whole lot of money to charity.

The news was first reported by The Courier-Journal.

"At the wire I was like, 'I cannot believe I did it,'" Espinoza said. "I (won) the Triple Crown race now, but I didn't make any money, because I donated my money to the City of Hope."

In addition to Espinoza donating all of the money he earned at Belmont to a California cancer treatment center, the Bafferts will be donating a total of $150,000 to three different charities. Those three charities are the Permanently Disabled Jockeys Fund, the California Retirement Management Account, and Old Friends Farm.

Each of the three will receive $50,000. 

"I want to share this, I want to make sure that those horses that we really love, we have to take care of them," Bob Baffert said after winning on Saturday. "Win, lose, or draw, I was going to do it."

Winning the Triple Crown was enough for American Pharoah's team. (USATSI)