The U.S. Supreme Court on Tuesday ruled against the Department of Veterans Affairs over its narrow view of GI Bill education benefits for multitour veterans.

The court’s 7-2 decision came in Rudisill v. McDonough, a complicated case about the educational benefits available to veterans who served more than one tour under two separate GI Bill programs created by Congress.