Previously, the Los Angeles District Attorney’s Office confirmed that Megan had been issued protective order against Lanez with stay-away provisions.

RELATED: Rick Ross, Megan Thee Stallion’s Lawyer Respond After Tory Lanez Denies Shooting Her On New Album ‘DAYSTAR’

Lanez — real name Daystar Peterson — was charged with two felony counts, one of assault with a semiautomatic firearm and another of carrying a loaded, unregistered firearm in a vehicle. Lanez (a.k.a. “the defendant”) “also faces a gun allegation and that he personally inflicted great bodily injury.”

While the press release does not name Megan Thee Stallion, it does describe a “24-year-old victim” who engaged in an argument with Lanez on July 12 while driving in an SUV in the Hollywood Hills.

“The victim exited the vehicle and Peterson is accused of shooting several times at her feet and wounding her.”

RELATED: Megan Thee Stallion Claims Tory Lanez Shot Her In Candid Video

If Lanez is found guilty and convicted, the Canadian rapper faces a maximum prison sentence of 22 years and eight months.

Meanwhile, the case is still under investigation by the LAPD.

Following news of his charges, Lanez took to Twitter to imply he’s innocent, tweeting that “the truth will come to light,” pointing out that “a charge is not a conviction.”