てはじめて
Usage
means "- happens, and then (one realises)... for the first time
Examples
一人暮らしをしてはじめて、家族の大切さがかわった
It was not until I started living by myself that I realized the importance of my family
means "- happens, and then (one realises)... for the first time