"I'm not going to research this one tonight, so I might be wrong as I'm just going from memory, and feel free to dog-pile on me if I am wrong, but a Republican was in office at the end of WWI, WWII, Korea, Vietnam, and Gulf War I."
WW I - Wrong. Woodrow Wilson. Democrat.
WW II - Wrong. Harry Truman. Democrat.