A court order to refrain from certain actions threatening or invading another party's legal rights or to compel to doing certain actions.