But in order to have more flexibility as the U.S. entered World War I, lawmakers at that time agreed to give the government approval for all borrowing as long as the total was less than a specific number. That debt limit number would be set by Congress.