Here's a handy breakdown of the big vote:
Final vote: 216 to 208.
How many Republicans voted yes?: 216.
How many Democrats voted yes?: 0.
How many Democrats voted no?: 196.
How many Republicans voted no?: 12. The dozen GOP lawmakers who bucked the party were Reps. Justin Amash (Mich.), Paul Cook (Calif.), Ron DeSantis (Fla.), John Duncan (Tenn.), Trent Franks (Ariz.), Phil Gingrey (Ga.), Tim Huelskamp (Kan.), Walter Jones (N.C.), Frank LoBiondo (N.J.), Tom McClintock (Calif.), Matt Salmon (Ariz.) and Mark Sanford (S.C.).
So where do these renegade Republicans fall on "The Fix's complete guide to understanding House Republicans?" (We're glad you asked.) Amash, Duncan, Huelskamp, Jones, McClintock, Salmon are members of the "No! Caucus," while DeSantis, Franks and Gingrey are part of the "Maybe, not likely" caucus. Cook and Sanford fall into the "Maybe yes" category. LoBiondo voted against the bill because "he believes all agricultural subsidies should be repealed," a spokesman said.
Who didn't vote?: 11 lawmakers, including Rep. Carolyn McCarthy (D-N.Y.), who has been out seeking treatment for lung cancer, and Rep. Paul Broun (R-Gal.), who is locked in a U.S. Senate primary race with Gingrey, who voted against the farm bill.
This post has been updated.