WASHINGTON -- The House rejected $163 billion in funding for wars in Iraq and Afghanistan -- the first time the House has voted against funding for the Iraq war -- as Republicans held back support as a protest against domestic-spending items Democrats added to the legislation.

Some antiwar Democrats applauded as 132 Republicans voted "present" and the funding failed on a 149-to-141 vote.

The...