Rapper Tory Lanez pleads not guilty in Megan Thee Stallion shooting

NEW YORK, NY - NOVEMBER 01: Tory Lanez visits the The Lord Sear Special show to discuss "Love me Now?" at SiriusXM Studios on November 1, 2018 in New York City. (Photo by Roy Rochlin/Getty Images)

Tory Lanez, who allegedly fired shots that wounded fellow rapper Megan Thee Stallion while they were inside an SUV in the Hollywood Hills, pleaded not guilty today to felony assault and gun charges.

Lanez -- who last month implied his innocence by posting on Twitter that "the truth will come to light" -- was charged Oct. 8 with one felony count each of assault with a semiautomatic firearm and carrying a loaded, unregistered firearm in a vehicle.

The 28-year-old Canadian rapper, whose real name is Daystar Peterson, is also facing allegations that he personally used a firearm and inflicted great bodily injury and could be sentenced to up to 22 years and eight months in state prison if convicted as charged, according to the Los Angeles County District Attorney's Office.

RELATED:

• Rapper Megan Thee Stallion says she was injured during shooting in Hollywood

• Rapper Tory Lanez charged with assault for alleged shooting involving Megan Thee Stallion

• Rapper Tory Lanez ordered to stay away from Megan Thee Stallion

In a video posted on Instagram Live following the July 12 shooting, Megan Thee Stallion said, "... Tory shot me. You shot me and you got your publicist and your people ... lying... Stop lying."

She said police officers drove her to a hospital, where she underwent surgery to remove the bullets, and added she was "incredibly grateful to be alive."

LOS ANGELES, CALIFORNIA - NOVEMBER 24: Megan Thee Stallion attends the 2019 American Music Awards at Microsoft Theater on November 24, 2019 in Los Angeles, California. (Photo by Jeff Kravitz/FilmMagic for dcp)

In an op-ed published in the New York Times, she wrote that she was "recently the victim of an act of violence by a man" and that she was initially silent about what had happened "out of fear for myself and my friends."

"Even as a victim, I have been met with skepticism and judgment," she wrote. "The way people have publicly questioned and debated whether I played a role in my own violent assault proves that my fears about discussing what happened were, unfortunately, warranted."

At a court hearing last month, Lanez was ordered to stay away from her.

The criminal complaint identifies the victim only as "Megan P."; the 25-year-old rapper's real name is Megan Pete.

The District Attorney's Office, without fully identifying the victim, said Lanez got into an argument with a female friend while riding in an SUV and alleged that he fired several shots at her feet as she left the vehicle.

The Houston native, who was the musical guest during the season premiere of "Saturday Night Live" on Oct. 3, gained fame in part through freestyling videos shared widely on Instagram. Her song "Savage'" went viral this year on TikTok and topped the Billboard Hot 100 chart in May, while her provocative collaboration with Cardi B on "WAP" garnered her more attention.

Lanez recently released his fifth album "Daystar," using multiple tracks to address the accusations.

Get your top stories delivered daily! Sign up for FOX 11’s Fast 5 newsletter. And, get breaking news alerts in the FOX 11 News app. Download for iOS or Android.