ex post facto Look up ex post facto at Dictionary.com
from Medieval Latin ex postfacto, "from what is done afterwards." From facto, ablative of factum "deed, act" (see fact). Also see ex-, post-.