James Reilly won the Republican primary for the Harford County Council seat for District D by a narrow 11 votes over John B. Carl, Jr., as county officials completed primary vote tallies on Friday.