TiVo Corp (previously Rovi Corp at the beginning of trial) has won a patent decision in front of the U.S International Trade Commission this week. The patent infringement battle was between TiVo and Comcast Corp. over recording technology. The decision is a conclusion to a lengthy infringement case, with each company striving for a legal advantage in the royalty fight.

The original fight began when Rovi – which merged with TiVo in 2016 – and Comcast were unable to renew a licensing agreement for patents in television set-top boxes.

The final decision prohibits Comcast from importing and selling types of Rovi’s (TiVo) Xfinity X1 set-top boxes. The boxes that are included in the import ban violated two patents but not the product’s legacy versions. This decision will be applied unless it is overturned by the U.S. President Donald Trump’s administration during the Presidential review period. Historically, it is very rare that the President would overturn a decision like this, but that is not to say Trump will stick to historical trends!!

Comcast can also challenge the commission’s decision in an appeals court that specializes in U.S. patent law.

“Today’s Commission Opinion reinforces the need for Comcast to take the necessary licenses to our IP,” Rovi said in an e-mailed statement. Comcast, in an e-mailed statement, said it disagreed with the trade commission’s decision and will appeal. The ruling will be made public once both sides get the chance to redact their confidential and personal information.

TiVo’s shares rose as much as 12% on the news.