Former chief magistrate in the republic of Venice (4)
I believe the answer is:
doge
(Other definitions for doge that I've seen before include "Ancient lord of Venice" , "Venetian chief magistrate" , "Chief of ancient Venice" , "Old lord of Venice" , "foreign magistrate" .)