INDIANAPOLIS (WISH) — A husband is doubly happy after his Cubs won the World Series and he won a major bet.

Former Miss America and Indiana’s own Katie Stam-Irk and her husband Brian Irk had their third child on Halloween, but the baby remained officially nameless until the winner of the World Series was determined, all because of a little bet Katie proposed.

When Katie found out she was pregnant earlier this year, she presented her husband with a bet.

“If the Cubs win the World Series, then he could be Wrigley and if not, then he’s Oliver,” Brian Irk said.

They made the bet at the beginning of the Cubs season.

“I had my doubts in the Cubs, I’m not going to lie, and every time I would tell people about the bet, they were like ‘oh, so you’re going to win,’” Katie said.

For the time being, Katie and Brian had decided to give him a nickname when he was born before the final game. They landed on Cubby, since Brian is such a huge Cubs fan.

“I grew up listening to the Cubs on WGN radio. I grew up outside of Chicago and I watched them with my grandmother.” Brian said.

Brian’s love of the Cubs also turned Katie into a fan.

“I genuinely like them, and enjoy watching them and have for quite some time,” Katie said.

The bet became more than a family affair when the baby was born.

“Everyone in the hospital was in on the bet, and everybody kept stopping by and saying have we decided yet, and we were like nope, final game isn’t over yet, we’re not done,” Katie said.

When Cleveland was up three games to two, the nurses had two birth certificates made, just in case.

“One of them said Wrigley Oliver, and the other said Oliver Wrigley,” Katie said.

But the Cubs did win, so Katie and Brian’s newborn child was named Wrigley Oliver.

“I ‘ugly cried’ for 10 minutes. I sobbed for 10 minutes straight,” Brian said.

“It was a good bet, regardless of the outcome, and I’m not going to lie, I probably would’ve just caved and let him have Wrigley because they were doing so well,” said Katie.

Katie added that she may still call Wrigley “Oliver,” at times.