Old French felonie ("evil, immoral deed"), from felon ("evildoer"). Ultimately of origin. More at felon.