form

Usage

to talk about something started in the past and still continued to a given time in the past

I had learned English for 10 years.


to talk about something happened before another action in the past

My mom had come home before it rained.