あげく・た末・の末: the difference
あげくN2
Meaning
After, In the end, After all, Eventually
Past papers
Example
何度も道を間違えた挙げ句に、約束の時間に2時間も遅れた。
After taking the wrong way again and again, I was a whole two hours late for the appointment.
た末・の末N2
Meaning
After, As a conclusion of
Past papers
Tested 5 times in past papers
Example
色々と考えた末に、お父さんの会社を継ぐことに決めた。
After much thought, I decided to take over my father's company.
How to tell them apart
「あげく(に)」: the result is always bad; after all that fuss it still went wrong.
「末(に)」: the result can be good or bad; the point is that it came after long thought or many twists.