Which war lasted the longest amount of time?