State Sen. Dalya Attar, a Democrat from Baltimore, was charged with eight crimes, according to a court docket.