TRENTON, N.J. (AP) — New Jersey's Supreme Court has heard arguments in the case of a man whose attempted murder conviction was overturned because the trial judge allowed the jury to hear violent rap lyrics he wrote.

Vonte (vonn-TAY') Skinner was convicted of shooting a rival in 2005, leaving the man partially paralyzed.

During his trial, prosecutors read 13 pages of rap lyrics attributed to Skinner. The lyrics, many describing violent acts, were written three or four years before the shooting.

An appeals court overturned the guilty verdict, writing that caution must be exercised when allowing prior writings as evidence in a trial.

The Supreme Court justices on Wednesday questioned attorneys for the state how the lyrics could be used as evidence when they didn't describe the actual crime and were written years before.