In which tense is this sentence written?

Kelly had cried about the lost cell phone before someone returned it.

present perfect

present

past perfect

past

past perfect