 Just as instrumental to their conception were other issues , particularly discontent with the king 's favourite , Piers Gaveston , whom the barons subsequently banished from the realm . Edward II accepted the Ordinances only under coercion , and a long struggle for their repeal ensued that did not end until Thomas of Lancaster – the leader of the Ordainers – was executed in 1322 . 
