English translation:
tried to ~ but ~
was about to ~ but ~
was going to ~ but ~
Structure:
Verb[ volitional ] + としたが + Result
Verb[ volitional ] + としたけれど + Result
Verb[ volitional ] + としたら + Result
Explanation:
[An action/attempt that requires effort or targets direct goals ・ suggests failure or lack of knowledge about the result.]