Tory Lanez was reportedly handcuffed and put in custody during a court hearing Tuesday after a judge ruled that the rapper violated court orders in the criminal case over his alleged 2020 shooting of Megan Thee Stallion.

Judge David Herriford ruled that certain social media posts from Lanez had breached court orders that required him to avoid any contact with Stallion as the case proceeds, according to TMZ and Rolling Stone.

As a result of the violation, the judge increased bail from $250,000 to a reported $350,000 and ordered Lanez into custody until he pays up. A trial date is set for September 24.

Lanez, whose real name is Daystar Peterson, stands accused of one count of assault with a firearm and another gun possession charge over the July 2020 incident, in which he allegedly shot Stallion during an argument after a pool party in the Hollywood Hills.

Lanez wasn’t charged with the shooting in October 2020, following months of growing publicity around the case. Stallion initially told police officers that she cut her foot stepping on broken glass, but days later revealed that she had suffered a gunshot wound. After media outlets reported that Lanez had fired the gun, Megan directly accused him in an August 2020 Instagram video.

Lanez pleaded not guilty in November 2020. In a December 2021 hearing, a Los Angeles judge allowed the case to move forward to a trial. During that hearing, a police detective testified that Stallion had told him that Lanez yelled “Dance, bitch!” as he opened fire around her feet, according to the Los Angeles Times.

Reps for both Lanez and the Los Angeles District Attorney’s Office did not immediately return a request for comment on Tuesday. A spokesman for Megan Thee Stallion declined to comment.