The Supreme Court on Tuesday sided with a former hospital lab technician who says his service in the U.S. Army Reserve led to his dismissal.

The decision, based on a federal law intended to prevent job discrimination against members of the military, is the first in which the court has ruled that an employer can be held liable for the discriminatory acts of supervisors who do not make final employment decisions.