"Until this was done, I cooked a meal." <br/><br/>or "Just after this was done, I cooked a meal." <br/><br/>I don't know which is correct.