TikTok Inc., prevailing on a writ of mandamus, got a copyright infringement lawsuit transferred from the Western District of Texas to a California court, relying on a federal appellate court’s apparent practice of ruling against the Waco district court.

The opinion issued Tuesday found U.S. District Judge Alan D. Albright clearly abused his discretion in denying TikTok’s motion to transfer the case to the Northern District of California.