What document first asserted the monarch/sovereign is subject to the law?

The document that first asserted the monarch/sovereign is subject to the law is the Magna Carta.