It happened in 1913 by way of the 16th Amendment to the Constitution:
The Congress shall have power to lay and collect taxes, from whatever source derived, without apportionment among the several States, and without regard to any census or enumeration.