What is Ex Post Facto?

Retroactively applied to events or actions that have already taken place to subsequent events is called Ex Post Facto. An act that could be punishable by law.