Yes there is. It's called anti-trust law and a large part is about pure market share.
It's also illegal to use your monopoly in a market to get advantages in that market. Most notably, you can't use your monopoly to keep your monopoly. (I.e. intel making a deal with dell where dell cannot use AMD processors)