Since CNBC’s special report “America’s Top States for Business” started in 2007, Virginia has been among the top-ranked states, never falling below second.

This year, Virginia lost its first-place title to Texas, struggling in the Infrastructure & Transportation and Cost of Doing Business categories.

The study scores all 50 states on 51 measures of competitiveness developed with input from business groups including the National Association of Manufacturers and the Council on Competitiveness, as well as input from the states.

Further down the list is Maryland, dropping from last year’s 29th place to 31st. Like Virginia, Maryland ranks low in the Infrastructure & Transportation and Cost of Living categories, as well as Cost of Doing Business.

More from The Washington Post:

Fairfax urges investigation on 911 failure

USGS to map Va. faults that caused 2011 quake