Ace–the best one, or a thing held in high esteem. First used 1840, in The ‘Spirit of the Times’. Contrary to what one might think, however, this word does not appear to be in widespread use, at least in written word, until the 20th century. That doesn’t mean that it wasn’t used in spoken word, though.
“Ace high” was first used in 1885. Again, I’m not certain if there wasn’t more widespread use verbally, especially among gamblers.