Virginia Democrats took control of a local court clerkship on Tuesday in a defeat for one of the state’s top Republican lawmakers.

Democrat Jacqueline Smith, an attorney, beat Republican Jackson Miller, House of Delegates majority whip, 53.9 to 46 percent to become clerk of the Circuit Court in Prince William County, the city of Manassas, and the city of Manassas Park. The clerk seat became available following the February death of incumbent Republican Michèle McQuigg.

Miller outspent Smith 6 to 1, according to the Prince William Times.

The Democratic Party of Virginia touted Smith’s victory as a sign of the momentum it has ahead of November elections for governor and seats in the House of Delegates.

“Tonight’s victory is further testament to the rising tide of the resistance,” state party Chairwoman Susan Swecker said in a statement. “Jackie Smith’s victory is a referendum on Donald Trump and his Republican allies in Richmond. Virginia Democrats are energized and organized, and tonight we outperformed a state legislator with more than four times as much money as our nominee. This is the beginning of the end: the age of Trump didn’t even last 100 days.”

Backlash to President Donald Trump in the state has already enabled Democrats to field challengers in an unusually high number of Republican-held legislative seats, including 17 GOP-controlled districts that Hillary Clinton won.

Jacqueline Smith Jacqueline Smith, a Democrat, defeated a powerful Republican lawmaker in a race for clerk of Prince William County Circuit Court.

In Alabama, Democrats maintained their control over state House District 67. Democrat Prince Chestnut, an attorney, defeated independent Toby Gordon.

Chestnut will fill a seat vacated by Democrat Darrio Melton after Melton was elected mayor of Selma in November.

Democrat wins special election for Alabama House District 67. Congratulations, Representative-elect Chestnut! #ALPolitics https://t.co/apPW5SCJDl — AL Democratic Party (@aldemocrats) April 19, 2017

CORRECTION: An earlier version of this article incorrectly implied that Jackson Miller was not running for re-election to his House seat this year. He filed to run in that primary as well. A previous headline also stated incorrectly that the Republican candidate was “unseated.” Neither candidate was an incumbent.