So the election of Bill Ritter , a former Denver prosecutor , to the Colorado Statehouse felt like a watershed , capping a four-year string of Democratic victories that has turned a red state into one that is more blue .