Lucasfilm Ltd. has won a dispute over the rights to a card game that plays a pivotal, if small, role in the greater “Star Wars” galaxy.

The San Francisco federal judge overseeing Lucasfilm’s litigation with app maker Ren Ventures Ltd. on Monday entered a stipulated judgment and permanent injunction in a dispute that centered on the rights to the game Sabacc. As part of the resolution of the case, Ren Ventures has agreed to pay $470,000 in damages after earlier this summer dropping its own claims to trademark claims to the name Sabacc.