1200. For a phrase of acquainted address, initially generally implying impatience, c.1400; consequently almost certainly its use as an interjection of surprise or emphasis, given that Center English but especially popular from early 20c. Why this is not a replica: @Mitch pointed out that my issue could quite possibly be https://hc6.org/