The Libyan–Egyptian War or the Four Day War was a short border war between Libya and Egypt that lasted from 21–24 July 1977.