Another closely contested race was in a district anchored in Bay Ridge , Brooklyn , where Councilman Vincent Gentile , a Democrat , survived a strong challenge from Pat Russo , a Republican who left his job as executive deputy in the state welfare inspector general 's office to run .