FORT WORTH (AP) – A teenager who robbed and attacked a pizza deliveryman with a baseball bat could finish serving his 40-year sentence in a Texas prison.

The teen is to appear in a Fort Worth juvenile court Tuesday. But the matter is unrelated to the man’s death about a year after he was attacked.

The hearing was called by the Texas Youth Commission. It has housed the teen since he was sentenced last year after pleading guilty to aggravated robbery.

Under certain sentencing rules, teens who cause problems can be transferred to state prison to serve their full sentence — instead of being released from a Texas juvenile facility when they’re 19.

Prosecutors have not decided whether to charge the teen in connection with the death of Fred Rein, who passed away in December of 2010 from complications of blunt trauma to his head and brain due to the assault dur­ing the rob­bery.

(© Copyright 2011 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)