की कोशिश कर रहा था

was trying to

→ की
phrase Rare #7,514
was trying to Used after an action to say someone was trying to do it. कर रहा था is the masculine singular past-progressive form; the subject’s gender and number can change the form.
HI: मैं दरवाज़ा खोलने की कोशिश कर रहा था।
EN: I was trying to open the door.

सामी लैला पर बलात्कार करने की कोशिश कर रहा था।

Sami was trying to rape Layla.

अपने पिता से बचने की कोशिश कर रहा था।

He was trying to escape from his father.

— अपने ड्रैगन को प्रशिक्षित कैसे करें 2 (2014)

एक सवाल था, जिसका हल मैं दस साल से खोजने की कोशिश कर रहा था।

There was a question I had been trying to find the answer to for ten years.

— Jaane Jaan (2023)

वह मुझे लेने की कोशिश कर रहा था।

He was trying to pick me up.

— अंधाधुन (2018)