The office of New York City Public Advocate is a citywide elected position in New York City, which is first in line to succeed the mayor.