The law stopped him from buying a gun--and he did it anyway.
But people continue to make the utterly baffling choice to refuse it anyway.
Q: You were warned against setting impossible benchmarks for yourself, and you did it anyway.
1560s, any way "in any manner;" variant any ways (with adverbial genitive) attested from c.1560. One-word form predominated from 1830s. As an adverbial conjunction, from 1859. Middle English in this sense had ani-gates "in any way, somehow" (c.1400).