The company behind the Telegram messaging app has won an injunction barring a startup company from using the name “Gram” for its own cryptocurrency.

Senior Judge Charles Breyer of the U.S. District Court for the Northern District of California on Wednesday found that Telegram Messaging Inc. had established priority to the Gram mark, and the company was likely to succeed on the merits of its false designation of origin, common law trademark infringement and statutory unfair competition claims.