Why did Congress and individual states pass preventative detention laws

a) To make it more difficult to pay bail
b) To grant an accused person equal rights
c) To safeguard the public
d) To satisfy the news media