A federal judge has dismissed a lawsuit filed by parents of Valley Forge Military Academy and College cadets, who claimed that the school breached its contract with parents when officials declined to reinstate the school’s popular president, but has given the plaintiffs one last chance to file an amended complaint.

U.S. District Judge Joel Slomsky of the Eastern District of Pennsylvania granted VFMAC’s motion to dismiss plaintiffs Derek Graham and Scott Newell’s complaint for lack of subject matter jurisdiction.