in the way that chance decides what will happen
As luck would have it, the train was late.
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición