Is jailbreak iphone 4 legal?

All Jailbreaking on any I device is LEGAL. You can do it and not get in trouble. The library of congress made it legal in 2008