A Cuban immigrant who turned his life around after being mistakenly paroled eight years into a 98 year sentence for armed robbery, has been pardoned by the governor of Colorado to stop him being deported.

Rene Lima-Marin, who came to the US as a toddler, was sentenced to almost a century in jail, in 2010, after he and an accomplice held up two video stores.

But just eight years later, the 38-year-old was mistakenly granted parole and released from Colorado state prison.

Lima-Marin went on to get married, had a child and got a steady job installing glass before state authorities realized their mistake in 2014 and sent him back for the remainder of his 98-year prison sentence.

Scroll down for video

Rene Lima-Marin, who turned his life around after being mistakenly paroled 90 years early into a 98 sentence for armed robbery, has been pardoned by the Colorado governor

Rene Lima-Marin turned his life around after being released from jail, marrying Jasmine Lima-Marin and having a family (pictured at his wedding with son Josiah Lima-Marin and step-son Justus Marez)

Earlier this week, a Colorado judge ordered Lima-Marin released from state prison, saying it would be 'draconian' to keep him incarcerated.

But before he could return to his family, immigration authorities picked him up, citing a still-active deportation order from 2000, when his American residency was rescinded in light of his conviction.

His lawyers said a pardon was his only chance to stave off deportation.

Now Gov. John Hickenlooper, a Democrat, has granted Lima-Marin a pardon, saying it was 'a question of justice.'

'This was a pretty clear example of someone who's done all the work necessary to earn a second chance.'

Lima-Marin's wife Jasmine stands at a podium as she addresses the media during a news conference on Friday as she pleads for her husband to be allowed to stay in the US

Jasmine Lima-Marin, center, stands next to supporters and her attorney, Hans Meyer, right, during a news conference

It's unclear whether the governor's action will be enough to stop Lima-Marin's deportation.

'I'm not a lawyer,' Hickenlooper said when asked whether the pardon would be enough.

Lima-Marin's case has become a bipartisan cause celebre in Colorado, as 98 members of the state Assembly, Democrats and Republicans, called on Hickenlooper to grant him clemency.

Colorado Governor John Hickenlooper (pictured) pardoned Lima-Marin this week

Though the legal roots of Lima-Marin's deportation order stretch back to actions of the Obama administrations, his detention comes as the Trump administration has moved aggressively to speed up deportations, sometimes sparking clashes with local officials.

District Attorney George Brauchler, whose office prosecuted Lima-Marin, said Hickenlooper did not give prosecutors time to review the pardon application as required by state law.

'The hasty decision to ignore state law was made seemingly to skirt federal law, and that is not an appropriate use of the governor's pardon power,' said Brauchler, who is running for governor.

Carl Rusnok, a spokesman for ICE, indicated that Hickenlooper's pardon would not be enough to stop the deportation.

'Rene Michael Lima Marin currently has final orders of removal from a federal immigration judge,' he said in a statement.

Hans Meyer, Lima-Marin's lawyer, said he'd file motions to vacate that order.

Rene Lima-Marin and Jasmine Lima-Marin family photo with their newborn son Josiah Lima-Marin and step-son Justus Marez

There are many breaks for kisses as Josiah 'JoJo' Lima-Marin 6, gives one to his father Rene Lima-Marin during a family talk as the family visit starts to wind down at the Kit Carson Correctional Center in 2016. He has been released from jail but is now facing deportation

Earlier this week, a Colorado judge ordered Lima-Marin released from state prison, saying it would be 'draconian' to keep him incarcerated. But before he could return to his family, immigration authorities picked him up (pictured with his son and stepson)

Josiah 'JoJo' Lima-Marin 6, gets a smile from his father Rene Lima-Marin as he colors during a family visit to the Kit Carson Correctional Center

'We're incredibly grateful to the governor for a just and fair solution,' he said. 'This is a tremendous first step.'

But Jason Kasperek, the assistant manager at a Blockbuster video store that Lima-Marin and an accomplice robbed in 1998, said Lima-Marin should be back in prison.

'I just think that it's scandalous how he used the system,' Kasperek said of Lima-Marin, recalling how the robbers held a rifle to his head as they forced him to open the store safe. 'I think it's completely ridiculous.

'It's unjust for all victims who have been involved in it.'

The Blockbuster was one of two video stores that Lima-Marin and his accomplice Michael Clifton robbed. They were convicted on multiple robbery, kidnapping and burglary counts. Clifton is still in prison, serving his 98-year sentence.

This is not Lima-Marin's first time in immigration detention. Though Trump has ordered immigration authorities to step up their enforcement of deportation orders, Lima-Marin's legal jeopardy actually stems from changes made by Obama.

After his 2008 parole, immigration authorities held Lima-Marin for 180 days. But at the time, Cuba would not accept any additional people who had arrived on the Mariel boat lift as deportees. As a result, Lima-Marin was released. He continued to check in with immigration authorities regularly, said his wife, Jasmine.

But when Obama in January ended the 'wet foot-dry foot' policy that had protected Cuban immigrants who arrived from the island, it opened the door to additional Cubans from the Mariel boat lift to be deported.