Is jailbreaking an iPhone 4 3G illeagl?

According to an exemption to the Digital Millennium Copyright Act, jailbreaking and unlocking are perfectly legal right so there is absolutely no need to worry about it. Use trustworthy jailbreak services only.