したがだめだった

tried to … but failed

→ 為る
phrase Rare #26,679
tried to … but failed Usually follows ようと, which marks an attempt. Here, だめだった means the attempt was unsuccessful.
JA: ドアを開けようとしたがだめだった。
EN: I tried to open the door, but I couldn't.

彼は彼らに自分の潔白を信じさせようとしたがだめだった。

He tried to convince them of his innocence, but he failed.

彼にこれ以上タバコを吸わないように説得したがだめだった。

I tried to persuade him not to smoke anymore, but I couldn't.

ディックはその問題を解こうとしたがだめだった。

Dick tried to solve the problem, but he couldn't.