The IRS was established in 1862 by then-President Abraham Lincoln, who instituted an income tax to pay for the Civil War. The tax was repealed in 1872, revived in 1894, and declared unconstitutional by the U.S. Supreme Court in 1895. In 1913, the 16th Amendment to the U.S. Constitution reinstated the federal income tax.