Modern criminal law has been affected considerably by the social sciences, especially with respect to sentencing, legal research, legislation, and rehabilitation.[15] The idea of a crime that puts one beyond the law of nations began with the doctrine of hostis humanis generis, originally focused on piracy.