Ex Post Facto Law Definition

noun
A law that retroactively makes criminal an act that was not criminal at the time it was done. In the United States, the passage of such laws is forbidden by the Constitution.
American Heritage
A law intended to apply to crimes or events that took place before its passage. The United States Constitution forbids the passage of ex post facto criminal laws, on the principle that it is wrong to punish an act which was not illegal when committed.
Webster's New World Law