A law passed after the occurrence of a fact or commission of an act, which retrospectively changes the legal consequences or relation of such fact or deed.  By article 1, section 10 of the U.S. Constitution, the states are forbidden to pass any ex post facto law.