In less than 24 hours time, Lil Wayne went from performing in front of a screaming crowd, to standing in front of a Manhattan judge.

The rapper appeared before a judge this morning for an incident stemming from a 2007 gun charge arrest. Just hours before he was one of the headlining performers at the MTV Video Music Awards. He took an overnight flight from California to New York to make his scheduled court date.

"He is the utmost, consummate professional," his lawyer, Stacey Richman, told MTV News.

TMZ uploaded video of a demure Wayne arriving at the court house earlier today.

He donned a suit jacket, glasses, jeans, and sneakers as he entered with his attorney.

The rapper politely thanked a bystander who commented on his album and a photographer who spoke about his VMA performances.

Weezy was arrested in 2007 on a single gun charge after police stopped his tour bus. A search of the vehicle revealed a .40 caliber pistol. The arrest occured the same night at the rapper's first headlining show in New York, at the Beacon Theater. Ja Rule, who joined Weezy on stage that night, was also arrested teh same day.---Anthony Thomas