ex post facto

definition: affecting things past
example:
speech part: adjective
synonyms: retroactive retro

How ex post facto is being used?