1560s, any way "in any manner;" variant any ways (with adverbial genitive) attested from c. 1560, prepositional phrase by any way is from late 14c.; see any + way (n.). 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).
1. A miracle is something that seems impossible but happens anyway.
2. Recession has simply accelerated changes that have been reshaping the industry anyway.
3. Mary Ann doesn't want to have children. Not right now, anyway.
4. The chase is always much more exciting than the conquest anyway.
5. I left medicine anyway. I wasn't really cut out for it.