Eight years ago, Rob Manzanares was shocked to learn that the mother of his daughter gave birth to her prematurely and put her up for adoption without his knowledge or consent.

Now it appears that his long legal struggle is nearing its end.

A judge in Colorado has called for a hearing next month that will offer Manzanares an opportunity to win parental rights to his biological daughter, Kaia, CBS4 in Denver reported.

The judge, D. Brent Woods, signed the order in which he commended Manzanares for his 'epic' struggle to win the right to raise the child, according to Deseret News.

'But for the petitioner's tenacity, his efforts would have failed. That struggle should end now,' Woods' order states.

Rob Manzanares (left) and his daughter Kaia are seen in this undated photo. In 2008, Kaia was given up for adoption by her biological mother without Rob's knowledge or consent

In 2008, Kaia's biological mother gave her up for adoption to the girl's aunt and uncle (the mother's brother and sister-in-law).

The adoption procedures took place in Utah, where state law requires that just one parent needs to give consent for a child to be adopted.

Manzanares said that he was opposed to giving up Kaia for adoption.

To make matters worse, he was not even made aware that Kaia was born six weeks prematurely.

A Colorado judge ruled this month that the adoption was arranged deceitfully by the girl's mother and her brother and sister-in-law, who misled Rob

Manzanares will now have an opportunity to win primary custody of the girl when a Colorado court hears the case next month

'I thought, there is no way this could happen, this is America,' Manzanares said.

After Utah's Supreme Court ruled in 2012 that the adoption was illegal, Manzanares petitioned the courts in Colorado to establish paternity.

The judge agreed with Manzanares, writing in his December 2 decision that the girl's biological father had fallen victim to 'deception' by the mother, her brother, and her sister-in-law, all of whom 'deliberately' and 'intentionally' misled him in order to go through with the adoption.

The judge wrote that the scheme to deceive the father included 'the possibility of inducing labor early' so that he wouldn't know of his daughter's birth.

'I just could not believe that everything is going to go my direction and my daughter's going to come home,' Manzanares said.

'I'm just in shock.'

Manzanares' lawyer, Michael Cheroutes (left), said that his client showed a persistence that is rare by enduring an eight-year legal struggle and the attendant financial cost

'I want my daughter to have stability, to have a stable family and things in place for her to heal, so I want her to come home.'

Manzanares' lawyer, Michael Cheroutes, said that his client showed a persistence that is rare, proving his determination to raise his daughter despite the eight-year legal struggle and the attendant financial cost.

The courts will now hear arguments from both Manzanares and the mother over who will get primary custody, though Manzanares feels confident in his chances.

'I really hope we bring some light to this fight and really do what's right for children… never give up,' he said.