Hamor the Hivite was the ruler of that area. When his son Shechem saw Dinah, he took her and raped her.