I will explain the grammar of JLPT N2. The important usage is "A あげく B"
See All 6 Episodes of "Kabuto Japanese"