Virginia moved up again this year in a prominent ranking of the best states for doing business.

Virginia came in at No. 4 on this year’s list of the top states, released Tuesday morning by business-focused news channel CNBC.

The state was ranked seventh in 2017. Virginia had been 13th best place for business in 2016, No. 12 in 2015, No. 8 in 2014, No. 5 in 2013 and No. 3 in 2012.

Virginia had been CNBC’s top-ranked state for business in 2007, 2009 and 2011.

"Not only does the state have the educated, available workforce that employers demand, it has also become a leader in business friendliness with the passage earlier this year of a bipartisan regulatory reform bill aimed at reducing regulations by 25 percent in the next three years," CNBC said.

Texas is the top state for business this year. The Lone Star state had been No. 4 last year.

The state of Washington, which ranked first in 2017, came in second this year, followed by Utah.

Virginia also moved up a notch again in Forbes’ annual “Best States for Business” ranking.

The annual list, published in November, place Virginia at No. 5, up from sixth from 2016. The state ranked at No. 7 in 2015, fourth in 2014 and first place in 2013.