The re-election campaign of state Attorney General Letitia James in the last six months has raised $405,395, according to a filing on Tuesday made public.

James, who cleared a crowded field of Democrats to win the nomination, defeated Republican Keith Wofford to win her first term.

Her campaign reported spending $117,569 and has $338,919 in cash on hand.

The vast majority of her donors gave less than $1,000 and her largest individual donor was lobbyist Rick Ostroff, who gave $20,000. Labor unions, including those who represent teachers and transport workers, also gave to her re-election campaign: The New York State United Teachers Union’s VOTE COPE gave $10,000, as did the Transport Workers Union Local 100.