That is exactly what happened to McCrory: 
http://www.cnn.com/2016/05/09/politics/north-carolina-hb2-justice-department-deadline/index.html

Bathroom bill tanked the economy - unintended consequences.
http://www.publicpolicypolling.com/main/pat-mccrory/
http://www.twcnews.com/nc/charlotte/news/2016/04/22/hb-2-has-cost-state-1750-jobs.html
Attorney General beat him and he couldn't even concede the loss gracefully.