what war established america?