したが

but

→ 為る
phrase Very common #1,452
but Here, が follows a verb in the past tense to connect contrasting clauses. In other examples, it follows different verb forms.
JA: 宿題をしたが、まだ終わっていない。
EN: I did my homework, but I haven't finished yet.

試験を受けた時、彼は一生懸命努力したが、不合格だった。

When he took the exam, he tried his very best, but he failed.

奥さんが犯人だったのかと急に思って自殺で終結したが

I suddenly wondered if his wife was the culprit, and the case ended with a suicide, but…

— 別れる決心 (2022)

彼は、あらゆる努力をしたがむだだった。

He made every effort, but it was all in vain.

知事を説得したが-教皇の意思を変えるのは不可能だ

I persuaded the governor, but changing the Pope’s will is impossible.

— エリート・スクワッド (2007)

彼らの何人かは賛成したが、残り皆は反対した。

Some of them agreed, but everyone else disagreed.

トムはメアリーに追いつこうとしたが、できなかった。

Tom tried to catch up with Mary, but he couldn't.

ドアをノックしたが、応答はなかった。

I knocked on the door, but there was no answer.

夫婦喧嘩したがすぐ仲直りした。

We had a fight, but we made up soon after.

彼はドアをノックしたが、だれも答えなかった。

He knocked on the door, but no one answered.

受験したが失敗するだけだった。

I took the exam, but all I did was fail.

彼は手を伸ばしてその果実を取ろうとしたができなかった。

He reached out to pick the fruit, but he couldn't.

メアリーとジョンは口論したが、しばらくして仲直りした。

Mary and John had an argument, but they made up after a while.

我々は周りを捜索したが暗かった

We searched around, but it was dark.

— Article 15 (2019)

トムとジェーンは喧嘩したが、翌朝には仲直りした。

Tom and Jane had a fight, but they made up the next morning.

急いで検査したが

I rushed to get it tested, but...

— アバウト・タイム ~愛おしい時間について~ (2013)