Democratic state Attorney General Letitia James fended off a challenge from former federal prosecutor Saritha Komatireddy on Election Day.