The Hague Conventions of 1899 and 1907 were the first multilateral treaties that addressed the conduct of warfare and were largely based on the Lieber Code, which was signed and issued by US President Abraham Lincoln to the Union Forces of the United States on 24 April 1863, during the American Civil War.