Add punctuation: A king was simply a leading magnate who the other magnates regarded as first among equals
A: A king was simply a leading magnate, who the other magnates regarded as "first among equals".

Add punctuation: But neither does getting discouraged and wallowing around in selfpity
A: But neither does getting discouraged and wallowing around in self-pity.

Add punctuation: All rooms have wifi
A:
All rooms have wifi.