With about 100 percent of precincts in, embattled Orleans Parish Sheriff Marlin Gusman is headed to a runoff with longtime Sheriff Charles Foti.

Gusman just missed an outright win with 48.93 percent of the vote. Foti got just under 30 percent.

Ira Thomas, a member of the Orleans Parish School Board, took just over 19 percent. Thomas and Foti spent much of the campaign taking turns attacking Gusman’s stewardship of the city’s jail, where conditions were declared unconstitutional by a federal judge last year.

Gusman has countered by saying many of the jail’s well-documented problems have their roots in Foti’s three-decade reign as the city’s jailer.

Voter disenchantment in the race was high, a fact best illustrated by gardener and perennial candidate Quentin Brown’s relatively strong showing. Brown had snared nearly 2,622 votes, more than three times the number of votes he had gotten in New Orleans in his four previous political campaigns. That gave him 3.16 percent of the vote.