The first definition of what exactly constitutes an ex post facto law is found in Calder v Bull (3 US 386 [1798]), in the opinion of Justice Chase:
"1st. Every law that makes an action done before the passing of the law, and which was innocent when done, criminal; and punishes such action...