Cooper was elected North Carolina Attorney General in November 2000 and took office on January 6, 2001; he was re-elected for a second four-year term in 2004. Cooper was mentioned as a possible Democratic candidate for North Carolina governor in 2008, but he decided to run for re-election as Attorney General instead.