State Sen. Wendy Davis (D) and Attorney General Greg Abbott (R) won their respective nominations in the Texas gubernatorial race on Tuesday.

The primaries were called for Davis and Abbott about an hour after polls closed.

Davis is the first female Democratic nominee to be nominated for governor of Texas since Ann Richards.

“And now it’s time, it’s time for each of us to work as hard as we can and to fight for the very future of this great state, thank you so much for your help,” Davis said in her victory speech. “I’m looking forward to working with you on this journey. God bless you all, and God bless Texas.”

Both candidates were expected to win their party’s respective nominations and head to the general election.

This post was updated.