Task: Text Matching
Input (English): Demetrius headed the Bulgarian Patriarchate in the first years of the reign of emperor Peter I ( r. 927 -- 969 ) .
In the first years of reign of Emperor Peter I ( reg . 927 - 969 ) , the demetrius headed the Bulgarian Patriarchate .
Output (English): Paraphrase