New York City Public Advocate Letitia James is fresh off her victory in a contentious four-way primary for the Democratic nomination, but she hasn’t yet completed her path to becoming New York state’s next attorney general.

James enjoyed a 10 percent margin of victory over her closest competitor in a race that polls showed as neck-and-neck entering its final phase. And with New York’s sizable Democratic registration advantage and massive turnout bump in Thursday’s primary, by most measures she enters the general election as a favorite.