The Spanish town of Huéscar was at war with Denmark for nearly two centuries. Not a single shot was fired, and no one was killed- because as soon as war was declared in 1809, everyone completely forgot about it. A peace treaty was finally signed in 1981, when a historian happened upon the official declaration and realized they technically should have been fighting each other for the past 172 years. Source Source 2 Source 3