More precisely, by the House 139 to 36, the Senate 33 to 11, and all of the states (although it took Kentucky until 1976).
The 14th amendment was never meant to apply to the children born here of foreign parents unless those parents intended to permanently reside in this country.
It was not intended to cover "anchor babies". It has gotten distorted quite a lot from what it's original purpose, which was to grant citizenship rights to former slaves.