Not quite a mistake as much as an intentional act and a very bad idea. I suggest you hire an attorney to defend any potential civil claims and/or criminal charges brought against you.
Your act will not be deemed a "mistake". It would be wise for you to hire a lawyer who is familiar with criminal and employment law. As far as your question of jail time, it will all depend upon the facts. With that being said you should call an attorney and get the ball rolling on this matter.
My responses provided on this site are not intended to create an attorney-client relationship. Furthermore,I encourage to personally visit with myself or another attorney in order to gain more clarification.