What War Was The Longest?

What is the longest war in history?

.

What was the longest war the US was involved in?