The U.S. House voted down an amendment that would have prevented military sponsorships of NASCAR teams in the future.

The Army announced it would end its $8.4 million sponsorship of Ryan Newman's car for Stewart-Haas Racing in NASCAR, but the National Guard still has a big sponsorship with Dale Earnhardt Jr.'s NASCAR ride and JR Hildebrand in IndyCar.

Wednesday's vote in the House was closer than two taken last year. Republicans voted against the amendment 156-81 while Democrats voted in favor of it 121-60, according to The Sporting News.

"It would be just irresponsible and outrageous that Congress would go ahead and continue to borrow money from China to pay for one racecar driver's team $26 million for delivering zero recruits," U.S. Rep. Patrick McHenry, D-Minn., said.