in order to
to
for the purpose of
Structure
- Verb[
ない] + ん + が + ため(に)- Verb[
ない] + ん + が + ため + の + Noun
Exception: する → せん
[AんがためにB is a formal and old-fashioned literary expression meaning “in order to” or “for the purpose of”]
[It expresses the great will of the speaker to achieve a goal]
The ん (shortened form of む) is an old suffix expressing volition, that was attached to what we call negative stem or irrealis [未然形]]
[Nowadays, the same idea is expressed by the volitional form. Another example: 言わんとする (nowadays 言おうとする)]