Translate the following English sentence to French:
"Because of this crime, and in accordance with Article 312 of the law in force, he was sentenced to one year' s imprisonment and ordered to pay fines."
Ce crime, selon la loi en vigueur, article 312, lui avait valu d'être condamné à un an de prison et à des amendes.