を契機に
Usage
Used to express the fact that "an incident causes a new situation, as a good opportunity/chance to; as a result of; make the best of ~."
V生まれた/生まれる + の + を契機に
N 事故 + を契機に
Examples
入院を契機に、今後はできるだけ毎日運動しようと思った
As a result of my hospitalization, I am thinking to work out as much as possible every day from now on
父は病気を契機にお酒を辞めました
My father's illness helped him to quit drinking alcohol