Man Sends Birthday Cards Every Year to Dog Shared With Estranged Wife

That love may save his marriage.

One man’s love for his dog may save his marriage.

Juan Hernandez has been sending his dog, Apollo, birthday cards for the two years he has been separated from his wife, Rebecca Hernandez.

Read: Dog, Cat and Rat Are Inseparable: 'We Really Had to See the Bond to Believe It'

Rebecca, who married Juan in 2012, said she was shocked to receive a card from Juan for the second year in a row.

“I was surprised he was still doing it. It's been two years and he still cares very much for us both. It is incredibly heartwarming to know how much he loves us,” Rebecca told InsideEdition.com.

The couple decided to split in 2015 and Apollo, which they bought in 2013 as a puppy, went home with Rebecca to Mercedes, Texas, while Juan stayed in Houston.

Juan never stopped thinking of them, however.

This year Juan sent a long letter to Apollo and a Petco gift card for the dog's April 1 birthday.

“Watching you grow up from a puppy that fit in the palm of my hand to the overgrown big dog that you are now was nothing short of an adventure, and I loved every moment of it. There is honestly not one time where thinking of you has failed to put a smile on my face. I will forever be grateful to you for that… There isn’t a day that I don’t think of you," Juan wrote in the letter.

Juan ended the letter saying, “Take care of yourself and your mom.”

Rebecca posted the heartwarming card to Twitter, where it quickly went viral, with more than 19,000 retweets.

Read: Teen Asks Her Stepdad to Adopt Her for His Birthday in Emotional Video

Many Twitter users suggested to Rebecca that Juan still loves her.

@BeckzLove The man wrote an entire novel on a card for the dog. He still loves you!

— Joshua Harris (@JoshHarris25) April 20, 2017

And in a twist of fate, the pair is rekindling their marriage now.

"It has gotten us talking again," Rebecca said. "We decided to try and work on our marriage and go to great lengths to fix the problems we came across. We are taking this all as a sign from God. We believe all of this happened for a reason."

Watch: Dog Depressed Over Loss of Puppies Treats Stuffed Animals Like Her Children