A three-day resentencing hearing is wrapping up for a South Florida man convicted of fatally stabbing his middle school friend when both were 14.

The final hearing for 26-year-old Michael Hernandez is Friday before Miami-Dade Circuit Judge John Schlesinger. He has not indicated when he will rule. Hernandez is seeking to reduce the life prison sentence he is serving for killing Jaime Gough in 2004 in a middle school bathroom.

The hearing was ordered after the U.S. Supreme Court ruled in 2012 that juveniles could not automatically be sentenced to life without chance of parole.

Hernandez took the witness stand Wednesday to apologize to the Gough family, has an improved mental state and is no longer obsessed with death, violent imagery and with becoming a serial killer.