adverb
finally; after much effort; in the end
Used after a long process or hard work to express that something finally happened. Often follows a verb in past tense or a noun indicating a period of struggle.
See also: のちに
長い話し合いの末に、ようやく合意に達した。
After long discussions, we finally reached an agreement.
苦労の末に、彼は夢を実現させた。
After much hardship, he finally realized his dream.
adverb
at the end of; after (a period)
Used with a time expression to indicate the end of that period. Common with words like 来週, 今月, 今年.
来週の末に、レポートを提出しなければならない。
I have to submit the report at the end of next week.