The 36-year-old legislator was taken into custody following an investigation into allegations of harassment and inappropriate conduct.