At B1 level, the question arose whether cuando is used only with past imperfect tense in Spanish. This claim is not true at all, since a conjunction cannot condition the use of tenses to such an extent. Here are two examples to illustrate that cuando can be used with both past imperfect and past perfect tense.
Cuando nació mi segundo hijo, yo tenía treinta y dos años.
Cuando era joven, participé en varios campeonatos.