A federal judge has given final approval to a $15.5 million settlement that caps years of litigation against Comcast for allegedly tying the sale of its premium cable service to the rental of a set-top box.

U.S. District Judge Anita Brody of the Eastern District of Pennsylvania approved the settlement in an order issued Tuesday. The ruling comes just over a year after Brody gave a preliminary thumbs up to the settlement, stopping short of full approval over reservations she had about the notice eligible consumers would receive about compensation.