Looks like Virginia’s freshmen Republicans got the message.

Both before and after a spending deal was struck between President Obama and congressional leaders, tea party activists and other conservatives in Virginia warned the state’s three freshmen lawmakers — GOP Reps. Morgan Grffith, Robert Hurt and Scott Rigell — to oppose any agreement that didn’t sufficiently cut spending and defund health-care reform.

On Thursday, all three freshmen voted against the spending deal on the House floor, joined by 56 other GOP opponents. The measure passed with ease anyway, 260-167, as 81 Democrats joined 179 Republicans in favor.

Rep. Randy Forbes (R-Va.) also voted against the bill. The state’s other four Republicans — Reps. Eric Cantor, Robert Goodlatte, Robert Wittman and Frank Wolf — cast their votes in favor of the measure.

On the Democratic side of the Virginia delegation, Reps. Gerald Connolly and James P. Moran Jr. voted for the bill, while Rep. Bobby Scott voted against it.

Rigell’s nay vote was the same as the one he cast March 15, when the House passed a three-week continuing resolution. Hurt and Griffith voted for it, drawing criticism from some conservatives.

This post has been updated since it was first published.