This phrase means "at the end of something difficult." It shows a result after a very long or hard time.
、、。
He, after a long struggle, was finally able to have his own shop.
、。
At the end of a fierce argument, the two of them broke up.
、。
After many years of searching, the culprit was ultimately not found.
、。
The victory at the end of a life-and-death struggle is irreplaceable.
に、に。
After wandering continuously, he arrived at an unfamiliar village.