Washington Street Corporation (“WSC”) appeals from the district court’s order dismissing its complaint and, in the alternative, staying the federal proceeding in favor of a parallel state court action involving identical issues. We affirm.
*588 BACKGROUND
WSC was created on February 20, 1990. On or about February 28, it purchased an apartment complex in Palm Desert, California, and a second parcel of real property located on the same lot. The following day, it filed a Chapter 11 petition for bankruptcy in the United States Bankruptcy Court for the Southern District of California. On March 5,1990, the Riverside County tax collector sold the apartment complex to W.C. Lusardi, and the other property to Linda Chen-Mei Hwang. On May 15,1990, the bankruptcy court dismissed WSC’s bankruptcy petition.
Lusardi filed a quiet title action in Riverside County Superior Court on June 20, 1990, to compel WSC to turn over the property. The state court appointed a receiver to operate and manage the apartments in an order dated November 16, 1990.
On October 25, 1990, WSC filed this complaint in federal district court seeking a declaration that the tax sale to Lusardi was void ab initio because WSC was entitled to an automatic stay of all collection efforts and foreclosure actions pursuant to WSC’s bankruptcy petition and 11 U.S.C. § 362(a). WSC also sought to quiet title to the property. On April 22, 1991, the district court dismissed WSC’s complaint for failure to state a claim upon which relief could be granted, and in the alternative, granted Lusardi’s request to stay the federal proceedings in favor of the pending state litigation. WSC filed this timely appeal.
DISCUSSION
Because we conclude that the district court properly stayed the federal proceeding in favor of the state court quiet title action, we do not reach WSC’s argument that the tax sale of the property was void ab initio under the automatic stay provision of the Bankruptcy Code. 1
The federal district courts ordinarily must apply the test outlined in
Colorado River Conservation Dist. v. United States,
In
Colorado River,
the Court articulated four factors for determining whether sufficiently exceptional circumstances exist to warrant abstention: (1) whether either the state or federal court has exercised jurisdiction over a
res;
(2) the inconvenience of the federal forum; (3) the desirability of avoiding piecemeal litigation; and (4) the order in which the forums obtained jurisdiction.
Colorado River,
Here, the first prong of the
Colorado River
abstention test is dispositive. In proceedings
in rem
or
quasi in rem,
the forum first assuming custody of the property at issue has exclusive jurisdiction to proceed.
Colorado River,
WSC concedes that abstention was required with respect to its quiet title cause of action under
Colorado River,
but argues that abstention was nonetheless inappropriate with respect to its declaratory relief claim because that claim turns on an issue of federal law. We reject the suggestion that where a merits claim and a declaratory relief claim are combined in one action a different abstention inquiry is required for each claim. Such a rule would increase, not decrease, the likelihood of piecemeal adjudication or duplicative litigation, and thus would undermine both the
Colorado River
and
Brillhart
doctrines.
See Colorado River,
AFFIRMED IN PART AND VACATED IN PART.
Notes
. We note that in concluding that the tax sale of the property was not void
ab initio,
but only voidable pursuant to 11 U.S.C. § 549(d), the district court relied on a ruling by the Bankruptcy Appellate Panel,
In re Schwartz,
