While reading articles, I came across this sentence.
Mr. Rafsanjani, 82, was also regarded a protector of what was left of Iran’s marginalized reformist movement and others with more moderate views than the conservative hard-line clerics who hold sway in Iran’s security forces and judiciary.
I was wondering what the role of "what" is in this sentence. Does it serve as a relative clause modifying the "protector"?