"To buy the elections is a crime."
Translation:A cumpăra alegerile este o infracțiune.
Thank you for your answers, ovidiu_nl & potestasity! I found the word I had in mind -"delict" (minor offense)
About ”crimă” Wiktionary says: ”infracțiune care reprezintă un grad ridicat de pericol și pe care legea o sancționează cu pedepsele cele mai mari; (spec.) omor”. So I guess that ”crimă” should be the correct answer? Buying elections is a very severe violation, it's not exactly like exceeding the speed limit a bit or so (”infracțiune”)...
We tend to reserve the word "crimă" for manslaughter. For instance we wouldn't use that word for mugging, even though it is technically a criminal offense ("faptă penală", "infracțiune").
In addition to what ovidiu_nl said, that wiktionary definition is taken from the DEX, which is an official dictionary of the Romanian Academy, so you can safely rely on it. However, the last part of the definition mentions the word gained the specialized meaning of "homicide". Indeed, there are some common terms that suggest that:
criminal în serie - serial killer
crimă cu premeditare - premeditated murder