An ex post facto law (Latin for "after the fact" or "from after the action") is a law that changes the legal consequences (or status) of actions that were committed before the law went into effect. In criminal law, an ex post facto law may criminalize actions that were legal at the time they were committed, or may make a crime worse by bringing it into a more severe category than it was in when it was committed.