presidents and mayors are both elected officials