Colorado's attorney general accused the Trump administration on Thursday of waging a "revenge campaign" by choking off funds and ending federal programs over the state's refusal to accede to the Republican president's demands to free an imprisoned elections clerk.