The pluperfect tense

 

Use the imperfect of haben / sein plus the past participle of the verb concerned.

Ich hatte Tennis gespielt - I had played tennis.

Ich hatte ein Bier getrunken - I had drunk a beer.

Ich war um 6 Uhr angekommen - I had arrived at 6 o'clock.