The subject of this appeal is an order discharging an attachment entered by the court at the time of its confirmation of an arbitration award. The chronology of the matter:
October 1962—Action on contract filed by building contractors against owners on October 19;
October 1962—Writ of attachment secured by plaintiff contractors, and property of defendant owners attached on October 22;
November 1962—Defendants’ answer filed, including as an affirmative defense a demand for arbitration;
August 1963—After trial of the affirmative defense, arbitration ordered by the court, and further proceedings of the action stayed until disposition of the arbitration ;
December 1964—Arbitration award made in favor of plaintiff contractors;
January 1965—Petition for confirmation of award filed by plaintiffs with the court;
April 1965—Confirmation of award and discharge of plaintiffs ’ attachment by the court.
From the briefs on appeal it may be inferred that the order discharging the attachment was based on the defendants’ argument that, since plaintiffs were hound to arbitrate, their filing of a lawsuit was wrongful, and. they should not be allowed to рrofit from their own wrong.
*741 The basic question is whether provisional remedies are available in whole or in part to a party which has contracted to arbitrate disputes which may thereafter arise. Under some arbitration statutes certain provisional remedies аre specifically reserved to the parties, for example, libel in rem under the Federal Arbitration Act, 9 U.S.C., section 8, 1 and mechanic’s liens under the laws of New York (McKinney’s Consolidated Laws of New York, Lien Law §35). Other statutes, including the Uniform Arbitration Act, 9 Uniform Laws Annotated, are silent оn this subject.
Although California is one of the states whose arbitration statute does not specifically cover the subject, some inferences may reasonably be derived from the pattern of our law. Our basic framework for enforcement of agreements to arbitrate involves a stay of the legal action until arbitration can be had, in contrast to the situation which would prevail if the statute provided for dismissal of the action. This distinction is one which the leading expert on arbitration, Professor Wesley A. Sturges, found significant in his treatise, Commercial Arbitrаtion and Awards:
“In view of these statutory changes what is the position of a party to a statutory arbitration agreement who may desire to procure an attachment or an injunction, to file a mechanic’s or other lien, or to procure the appointment оf a receiver for protective purposes pending an arbitration and the making and confirmation of an award? Does the statutory irrevocability of such arbitration agreements prevent the institution of such proceedings ?
“While several of the arbitration statutеs provide only in general terms that such agreements shall be irrevocable, some of the arbitration statutes particularly provide that they shall be irrevocable by action, and expressly require a stay of trial or a stay of the action until an arbitration is had pursuant to the agreement. Such an express provision appears in the statutes of Arizona, California, Connecticut, Territory of Hawaii, Louisiana, Massachusetts, New Hampshire, New Jersey, New *742 York, Pennsylvania, Rhode Island, and United States, as reported supra, chapter 3, § 33. Under these arbitration statutes at least, it would seem possible to institute sufficient proceedings to levy an attachment or to eff ect other process of seizure or sequestration without having the proceedings summarily abated.” (Pp. 328-329.) (Italics added.)
Our own reading of California’s arbitration statute and the eases interpreting it convinces us thаt a contract to arbitrate by no means precludes a party to the contract from initially resorting to the courts. Code of Civil Procedure, section 1281.4, reads in part:
“If an application has been made to a court of competent jurisdiction, whether in this Stаte or not, for an order to arbitrate a controversy which is an issue involved in an action or proceeding pending before a court of this State and such application is undetermined, the court in which such action or proceeding is pending shall, upon motion of a party to such action or proceeding, stay the action or proceeding until the application for an order to arbitrate is determined and, if arbitration of such controversy is ordered, until an arbitration is had in accordance with the order to arbitrate or until such earlier time as the court specifies.
“If the issue which is the controversy subject to arbitration is severable, the stay may be with respect to that issue only.”
Prom this and other sections of the statute, both directly and by implication, it is apparent,
1. either pаrty may demand arbitration and both may waive it (Code Civ. Proc., § 1281.2);
2. a party may be estopped to demand arbitration;
3. the particular issue in controversy may not fall within the terms of the arbitration agreement (Code Civ. Proc., § 1281.4);
4. an agreement to arbitrate is an affirmative defense
(Local 659, I.A.T.S.E.
v.
Color Corp. of America,
5. legal proceedings are not automatically stayed or dismissed but must be stayed on motion;
6. the length of the stay may be а shorter period than the time it takes to arbitrate.
It follows that the remedy of arbitration by no means automatically ousts a court of general jurisdiction from the scene. In the present case it seems clear that the original complaint *743 was properly filed in October 1962, and, as a concomitant to the valid filing of an action, the original attachment was validly issued. Had defendants not raised the defense of arbitration the suit unquestionably could have gone ahead in its original form as an action at law. Defendants, however, pleaded an agreement to arbitrate as an affirmative defense, and after the trial of this affirmative defense the court in August 1963 entered the following order: 11 Court finds in favor of Defendants on their Fourth Affirmative Defense pleading the contractual right to arbitrate this controversy, and further finds that said Defendants have not waived said right of arbitration nor are said defendants estopped to demand arbitration. The further prosecution of this action is stayed until determination or other disposition of said arbitration. Further trial of this action is placed оff calendar.” Yet although the court stayed the further prosecution and trial of the action, it did not dismiss the suit nor did it discharge the attachment.
If we assume that the continuing benefit of provisional remedies may no longer be available when arbitration has been ordered, then at the time of the stay of the action defendants became privileged to move for the discharge of the existing attachment. Yet at no time during pendency of the arbitration proceedings did defendants make such a motion or otherwise apply for and obtаin an order vacating the attachment. Both parties proceeded with arbitration, at the conclusion of which plaintiffs secured an award for substantially the full amount they had sought.
Plaintiffs, having complied with arbitration and obtained an award, became eligible under the terms of the stay to return to court and secure confirmation of the award and entry of judgment. Meanwhile Code of Civil Procedure, section 1287.6, had become relevant: “An award that has not been confirmed or vacated has the same force and effect as a contract in writing between the parties to the arbitration. ’ ’ Thus at this stage plaintiffs occupied the position of a litigant seeking judgment on a written contract, who would have available for his security various provisional remedies, including attachment. (Code Civ. Proc., § 537.) Plaintiffs’ position was comparable to what it might have been in a suit on a promissory note during the course of which a confession of judgment had been agreed to by the defendant. Accordingly, even if the use of provisional remedies were disfavored during the pendency of the аrbitration itself, after the petition for confirma *744 tian of the arbitration award had been filed plaintiffs would have been entitled to use provisional remedies to secure the satisfaction of any judgment which might be entered on the award. We have no doubt that at the time оf their petition for confirmation plaintiffs would have been entitled to attach the property of the defendants as security for a judgment.
To recapitulate, then, the situation during the different phases of this action:
1. at the time of the filing of the complaint plaintiffs’ attachment was valid;
2. during the period August 1963 to January 1965 plaintiffs’ attachment may have become subject to a motion to discharge;
3. on the filing of the petition for confirmation plaintiffs again became entitled as a matter of right to the remedy of attachment.
Prom August 1963 to January 1965 dеfendants might have applied to vacate the attachment and perhaps secured its discharge, but they did not do so. By itself the stay of further prosecution of the action had no effect on the attachment since the mere stay of an action keeps аll matters relating to an attachment in statu quo until an application to discharge the attachment has been made and acted upon.
(Halstead
v.
Halstead,
The one California case we have fоund on the use of provisional remedies in conjunction with arbitration,
Homestead Sav. & Loan Assn.
v.
Superior Court,
The Homestead case held that arbitration was available even if provisional remedies had been used. Our case involves somewhat the converse, i.e., that provisional remedies continue in effect even though arbitration has been ordered. Homestead, in holding that the right to arbitratiоn is not lost merely by the use of provisional remedies, strongly implies that there is no essential inconsistency between the two procedures.
Similar approval of the use of provisional remedies in controversies subject to arbitration has been given by the Massachusetts Supreme Court
(Salvucci
v.
Sheehan,
In the case at bench we need not go so far as the Massa *746 chusetts court and decide that the trial court had no power to discharge the attachment at the time of the entry of the stay, for clearly in our case, whether or not the court had the рower, it did not attempt to exercise it until the time within which it might have done so had passed. After the arbitration award and petition for confirmation, the application to discharge the attachment came too late.
That part of the judgment discharging the attachment is reversed.
Roth, P. J., and Herndon, J., concurred.
Respondents’ petition for a hearing by the Supreme Court was denied September 7, 1967.
Notes
The Federal Arbitration Act, 9 U.S.C., § 8, specifically provides that if the basis of jurisdiction is a cause of action justiciable in admiralty then the party claiming to be aggrieved may bеgin his proceeding by libel and seizure of the vessel or property of the other party according to the use of admiralty proceedings. Congress has thus plainly declared that although the parties have agreed to arbitrate the traditional admiralty procedure with its concomitant security shall be available to the aggrieved party, including security obtained by attachment.
(The Anaconda
v.
American Sugar Refining Co.,
