TWIN FALLS, Idaho (AP) — The Idaho Supreme Court says a lien on cattle feed only lasts as long as the feed does, and doesn't apply to the animals that consume the food.

The ruling reversed a lower court's decision in a lawsuit between Farmers National Bank, a slew of feed suppliers and a defunct Buhl dairy farm. The Times-News reported that the case began in 2011 after the feed suppliers claimed they were owed some of the proceeds from the sale of dairy cattle that the bank had repossessed.

In May, Twin Falls County District Judge Richard Bevan ruled in favor of the feed sellers. But on Friday, the high court said a lien on animal food attaches only to the actual food, not to the animal that eats it.