Having a monopoly is not illegal. Using your monopoly to do things you can't do if you're not a monopoly can be illegal depending on the circumstances.
This is probably the biggest myth about US antitrust law. It seems to be almost universally believed, but is very clearly false. See, for instance, what happened to Alcoa.