A New Jersey couple let their beloved dog choose their new baby’s name and also made the pup a big part of their gender reveal — which contained a surprising twist.

Erica and Frank Derise of Monmouth County, New Jersey, threw three tennis balls for their two-year-old pooch Beau to chase — each one with a male name written on it, according to news agency SWNS. (SEE the pup in the video at the top of this article.)

When Beau ran back with a ball that had "Frankie" written on it, that’s the name the expectant couple decided to go with for the baby boy they were expecting.

BABY NAMES HERSELF FROM WOMB, MOM ON TIKTOK INSISTS: ‘I’M STICKING WITH IT'

Previously, the Derises had let their Golden retriever reveal whether they were having a boy or a girl by biting into a gender reveal cake, after their social media followers suggested getting Beau involved.

Erica Derise, a 27-year-old content creator, told SWNS, "We incorporate Beau into every major life event. He needs to be involved in everything."

New Jersey couple let dog name baby

Above, Beau the golden retriever sits in front of his owners, Frank and Erica Derise, of Monmouth County, New Jersey. Beau is an important part of his owners' lives, they told news agency SWNS. (SWNS)

She added, "He's like our kid — we want him to be a part of things."

However, Beau bit into a cake that was pink — and this turned out to be incorrect information, said SWNS.

"It went wrong the first time," Erica Derise told the news agency of the initial pregnancy blood test and their resulting gender reveal.

MAN LEAVES HIS OWN WIFE ON NIGHTMARE PLANE TRIP, TRIES TO HELP CRYING BABY AND MOTHER: 'HUGE MISTAKE'

"I took a blood test at 10 weeks and the lab results came in from the nurse," she said, adding, "She gave me an envelope saying it was a girl."

She also said, "It was great, after Beau revealed that we were having a girl."

Beau the dog gender reveal

Above, Beau enjoys a gender reveal cake. (SWNS)

Derise continued, "But we went for another ultrasound to reconfirm — and we were told it was a boy!"

She said, "I cried. We were happy regardless, but I remember calling to reconfirm and being like, 'What...?'"

Learning that she and her husband initially had been given the wrong envelope "was kind of heartbreaking," Derise said.

She added, "But of course, we're not disappointed that we're having a boy."

Beau the dog gender reveal

Beau the beloved dog holds up ultrasound photos of the newest Derise family member. (SWNS)

After Beau "tucked into a second cake — this time with the correct color — Erica and Frank soon turned their attention to names," said the news service.

The couple managed to settle on three names, Liam, Andrew and Frankie, but they ultimately gave Beau "the final say."

That's when he returned the tennis ball with "Frankie" written on it.

FOUR SISTERS ARE PREGNANT AT THE SAME TIME, DUE WITHIN SIX MONTHS OF EACH OTHER

"We were kind of undecided whether we wanted to go down the Frankie route because of [dad] Frank's name," said Derise, "but he's going to be called Frankie and on his birth certificate it'll say Frank."

Beau also walked down the aisle on the couple’s wedding day, "which he loved," she told SWNS.

Beau the dog and the Derises

The Derise family enjoy a happy moment together. Beau is "always smiling," said Erica Derise. (SWNS)

Beau was thrilled when "he walked down the aisle and everyone was cheering for him," she also said.

CLICK HERE TO SIGN UP FOR OUR LIFESTYLE NEWSLETTER

"He got his own announcement and looked so happy," she continued.

"We're so excited for Beau to meet the baby."

CLICK HERE TO GET THE FOX NEWS APP

Saying that Beau is "so good with [our] nieces," Derise added, "honestly, Beau is never not happy. He's always smiling."