lilwayne1022.jpgLil Wayne (nee Dwayne Carter) pleaded guilty today to attempted criminal possession of a weapon and he will serve a year in prison. The rapper agreed to a plea deal with prosecutors and he will be sentenced at New York State Supreme Court in February.

Prosecutors say police pulled over Lil Wayne's tour bus on July 22, 2007 after allegedly smelling marijuana coming from the vehicle, and officers then found Wayne to be in possession of a weapon.

The rapper would have faced more serious gun possession charges if the case had gone to trial, as well as a maximum 15-year prison sentence, a spokeswoman at the Manhattan District Attorney's Office said.