Does the sentence "The Socialists had governed the region for seventeen years." answer the question "For how many years did the socialists governed the region?"
yes