~あげく(に)
After a long (troublesome) process, in the end … (usually an unwanted result)
N2
V-ta / N + の + あげく(に); emphatic form: あげくの{果|は}て(に)
~あげく(に) says that after a state or action went on for a long, tiring or troublesome time, it finally led to a result that is usually negative, regrettable or unwanted. The first clause often expresses repetition or hesitation: {迷|まよ}ったあげく, さんざん{待|ま}たされたあげく, {口論|こうろん}のあげく, {悩|なや}んだあげく. The form あげくの{果|は}てに stresses how bad the outcome was. Unlike ~{末|すえ}に, which is neutral, written and fine for good outcomes, あげく carries the speaker's frustration or complaint. A common mistake is using it for a happy result such as 「{努力|どりょく}したあげく{合格|ごうかく}した」; {末|すえ}に sounds natural there.
Examples
何時間も議論したあげく、会議では何も決まらなかった。
After hours of discussion, nothing was decided at the meeting in the end.
部品を探して倉庫を歩き回ったあげく、結局注文し直すことになった。
After walking all over the warehouse looking for the part, we ended up having to reorder it.
彼は上司と口論のあげく、会社を辞めてしまった。
After a heated argument with his boss, he ended up quitting the company.
Exercises
1.店長に何度も頼んだ 、シフトは結局変えてもらえなかった。
2.迷いに迷った 、彼女は帰国を諦めることにした。