Article will continue after advertisement

WILMINGTON, N.C. – A man convicted of murder imprisoned for 28 years is out of prison after a judge ruled he didn’t get a fair trial.

Johnny Small, 43, was convicted of murdering Pam Dreher at a tropical fish shop when he was just a teenager. Now, he’s learning how to live in a world full of smart phones.

WRAL reports Small is now sleeping on his cousin’s couch.

“There’s a lot I’ve got to adapt to,” Small told WRAL. “I don’t know how to function.”

Johnny Small is escorted back to the yard at New Hanover Correctional Center in Wilmington, N.C., on Thursday, Aug. 4, 2016. Small has been in prison since he was 16 for the murder of fish store owner Pam Dreher, but his attorney hopes recanted testimony will help free him. (AP Photo/Allen G. Breed)
Johnny Small is escorted back to the yard at New Hanover Correctional Center in Wilmington, N.C., on Thursday, Aug. 4, 2016. Small has been in prison since he was 16 for the murder of fish store owner Pam Dreher, but his attorney hopes recanted testimony will help free him. (AP Photo/Allen G. Breed)

Superior Court Judge W. Douglas Parsons ruled Thursday that there was not enough evidence to justify Small’s 1988 conviction. Parsons agreed to free Small until prosecutors decide if there was enough evidence to put him on trial again.

A prison tattoo with the word "PRIDE" stands out from Johnny Small's forearm during an interview at New Hanover Correctional Center in Wilmington, N.C., on Thursday, Aug. 4, 2016. Small is awaiting a hearing on whether his conviction in the 1988 murder of fish store owner Pam Dreher will be overturned. A hearing is scheduled to begin Monday, Aug. 8 for Small, who has always maintained his innocence. The judge could vacate the conviction, order a new trial or uphold the conviction. (AP Photo/Allen G. Breed)
A prison tattoo with the word “PRIDE” stands out from Johnny Small’s forearm during an interview at New Hanover Correctional Center in Wilmington, N.C., on Thursday, Aug. 4, 2016. Small is awaiting a hearing on whether his conviction in the 1988 murder of fish store owner Pam Dreher will be overturned. A hearing is scheduled to begin Monday, Aug. 8 for Small, who has always maintained his innocence. The judge could vacate the conviction, order a new trial or uphold the conviction. (AP Photo/Allen G. Breed)

“What I’m here to decide is, did he receive a fair trial?” Parsons said, according to CBS News. “It is more than abundantly clear that he did not.”

Small is under electronic house arrest while charges are pending, the Associated Press reports.

“It’s terrifying. I mean, I’m happy, but I am terrified,” Small said. “It’s been 28 years I’ve been incarcerated for a crime I didn’t commit. I hope justice comes through.”