MOORE, Judge.
Ocean Reef Developers II, LLC ("Ocean Reef"), the defendant in an action pending in the Etowah Circuit Court ("the Alabama trial court"), petitions for a writ of mandamus directing the Alabama trial court to set aside its order denying Ocean Reef's motion to dismiss and to enter an order dismissing Michael Maddox's complaint against Ocean Reef. For the reasons discussed below, we grant the petition.
On March 28, 2005, Maddox, an Alabama resident, entered into an agreement with Ocean Reef regarding the construction and purchase of a condominium in Panama City, Florida. The terms of the purchase agreement called for Maddox to make a deposit into escrow of $104,250. The purchase agreement further provided that the deposit would be fully refunded if Ocean Reef failed to perform on any of its contractual obligations. In the event of a dispute, the purchase agreement stated that "the prevailing party shall be entitled to receive its costs of enforcement, including reasonable attorney fees."
In order to satisfy his deposit obligation, on April 13, 2005, Maddox procured a letter of credit from Exchange Bank of Alabama in favor of Bay County Land & Abstract, Ocean Reef's escrow agent, for $104,250. In March 2008, the parties became
On April 16, 2008, Maddox, through Brian Hess, his Florida attorney, filed a complaint in the Fourteenth Judicial Circuit of Florida, in and for Bay County, against Ocean Reef ("the Florida action"). In that complaint, Maddox sought a judgment declaring that Ocean Reef had breached the purchase agreement; he also sought to terminate the purchase agreement, a refund of his deposit, a cancellation and return of the letter of credit, and an award of attorney fees and costs. On April 29, 2008, while the Florida action was pending, Maddox, through Owen, filed a complaint in the Alabama trial court ("the Alabama action") naming as defendants Exchange Bank, Bay County Land & Abstract, and Ocean Reef. In his complaint filed in the Alabama action, Maddox asserted that, on April 22, 2008, Bay County Land & Abstract had presented to Exchange Bank a letter and a sight draft demanding payment on the letter of credit. Maddox asserted, among other things, that the demand for payment should not be honored because, he said, "[Ocean Reef] has defaulted [on the purchase agreement] leaving no money due [Ocean Reef]"; Maddox sought an immediate injunction or a temporary restraining order to protect his rights under the letter of credit, a permanent injunction to prohibit Exchange Bank from honoring any request for payment under the letter of credit, and an award of attorney fees and costs. In the complaint filed in the Alabama action, Maddox acknowledged that he recently had filed the Florida action and that, in the Florida action, he also was seeking the cancellation of the letter of credit. On April 30, 2008, the Alabama trial court entered an order enjoining Exchange Bank from honoring the letter of credit, instructing Exchange Bank to hold the funds at issue, and scheduling the matter for a hearing.
On December 11, 2008, the Florida circuit court entered a judgment finding that Ocean Reef had breached the purchase agreement and that, as a result of that breach, Maddox was entitled to an immediate refund of all deposits he had paid, plus accrued interest, and to a return of the letter of credit.
On December 23, 2008, Maddox moved the Florida circuit court for an award of attorney fees and costs. In his motion, Maddox claimed attorney's fees incurred by Hess relating to the Florida action, but he did not claim any attorney's fees incurred by Owen relating to the Alabama action. On March 4, 2009, the Florida
On January 26, 2010, Maddox filed an amended complaint in the Alabama action. In his amended complaint, Maddox stated that he had recovered attorney's fees in the Florida action but that the judgment did not include fees paid to Owen and his law firm "for its work to enjoin [Ocean Reef's] wrongful draw on the letter of credit and to advise and assist in the Florida case." The amended complaint also stated:
Based on the above allegations, Maddox sought an award of $19,605.37, "plus interest and costs, plus any additional attorney fees incurred in the pursuit of th[e Alabama] action."
Ocean Reef moved to dismiss the amended complaint filed by Maddox in the Alabama action, asserting, among other things, that Maddox's request for attorney fees and costs was barred by the doctrine of res judicata. After a hearing, the Alabama trial court denied Ocean Reef's motion to dismiss. After the Alabama trial court denied Ocean Reef's "motion to reconsider," Ocean Reef petitioned this court for mandamus relief. On August 26, 2011, this court ordered the trial court to stay its proceedings pending resolution of the petition for a writ of mandamus.
Before proceeding to a discussion of the merits, we must first address Maddox's contention that we cannot consider the petition for a writ of mandamus. Maddox argues that the denial of a motion to dismiss or a motion for a summary judgment generally is not reviewable by a petition for writ of mandamus, citing Ex parte Liberty National Life Insurance Co., 825 So.2d 758 (Ala.2002). As explained in that case, the denial of a motion to dismiss generally is not reviewable by way of a petition for a writ of mandamus because any error in denying a motion to dismiss ordinarily can be adequately remedied by appeal. 825 So.2d at 761-62. In Ex parte Southland Bank, 514 So.2d 954, 955 (Ala. 1987), our supreme court held that a petition for a writ of mandamus could not be used to review an order denying a motion to dismiss that was based on the doctrine of res judicata because the movant could obtain adequate relief by way of appeal. See also Ex parte Stone, 502 So.2d 683, 686 (Ala.1986) (denying a petition for a writ of mandamus to review order denying motion to dismiss on grounds that issue in complaint had already been adjudicated and did not present justiciable controversy). However, subsequent cases from our supreme court have reviewed orders denying a motion to dismiss based on the doctrine of res judicata through a petition for writ of mandamus. See Ex parte Jefferson County, 656 So.2d 382 (Ala.1995); and Ex parte Sears, Roebuck & Co., 895 So.2d 265 (Ala.2004). When it last addressed the subject, our supreme court declared that "a petition for a writ of mandamus is an appropriate method by which to seek this Court's review of the denial of a motion to dismiss predicated on the doctrine of res judicata." Ex parte LCS Inc., 12 So.3d 55, 56 (Ala.2008).
Maddox also presents the issue
As to the first point, the materials submitted to this court indicate that Ocean Reef filed its petition for a writ of mandamus on July 7, 2011. At that time, Maddox had not filed a motion for a summary judgment in the Alabama action, so a motion for a summary judgment was not then pending before the Alabama trial court. Moreover, we know of no procedural rule or caselaw, and Maddox has not cited any, that prevents a party from filing a petition for a writ of mandamus relating to a ruling on a motion to dismiss solely because the opposing party has filed an offensive motion for a summary judgment on the merits.
As to the second point, we note that our appellate rules of procedure require that a petition for a writ of mandamus be filed "within a reasonable time." Rule 21(a)(3), Ala. R.App. P. Maddox does not argue that Ocean Reef, which filed its petition 41 days after the Alabama trial court entered the order denying Ocean Reef's motion to dismiss, filed the petition outside a reasonable time, which is the only delay that will result in the dismissal of a petition for a writ of mandamus. Furthermore, to the extent that Maddox implies that Ocean Reef may be abusing the litigation process by filing the petition for a writ of mandamus, see Ex parte Spears, 621 So.2d 1255, 1261 (Ala. 1993) (Maddox, J., dissenting) (noting that
Turning to the substance of the petition, we note that the general elements of the doctrine of res judicata are:
Ex parte Jefferson County, 656 So.2d at 384-85. The parties do not dispute that Maddox obtained a judgment on the merits of Maddox's claim for attorney's fees by a court of competent jurisdiction in a prior action involving the same parties. They differ, however, as to whether the fourth element of the doctrine has been established. Maddox maintains that, in the Alabama action, he is seeking different attorney's fees from those awarded in the Florida action and that those fees arose solely from Ocean Reef's "fraudulent" attempt to draw on the letter of credit, a wrong separate from its breach of the delivery and notice deadlines that were at issue in the Florida action. Ocean Reef, on the other hand, maintains that Maddox, having prevailed in the Florida action on his claim that Ocean Reef breached the purchase agreement, was entitled to recover all attorney's fees associated with the enforcement of the purchase agreement, including the attorney's fees incurred to prevent Ocean Reef from drawing on the letter of credit.
As Ocean Reef correctly points out, in his amended complaint, Maddox premised his right to attorney's fees in the Alabama action solely on the purchase agreement between the parties. That provision states, in full:
The plain language of the provision states that a party to the agreement can recover attorney's fees from the other party only if the those fees were incurred in order to enforce the terms of the agreement. Hence, despite his strenuous argument to the contrary, Maddox cannot escape the fact that his claim for attorney's fees in the Alabama action, regardless of how characterized, stems from the underlying breach of the purchase agreement by Ocean Reef. Otherwise, he would have no claim for attorney's fees at all. See Romar Dev. Co. v. Gulf View Mgmt. Corp., 644 So.2d 462 (Ala.1994) (holding that, in the absence of a contractual provision, party was not entitled to attorney's fees in action seeking declaratory and injunctive relief).
In the Florida action, Maddox recovered attorney's fees upon prevailing on his theory that Ocean Reef had violated the notice and delivery deadlines contained in the purchase agreement. In the Alabama action, Maddox can recover attorney's fees only by proving the same theory. Maddox has always claimed that the attempted draw on the letter of credit was "wrongful" or "fraudulent" solely because
Equity Res. Mgmt., Inc. v. Vinson, 723 So.2d 634, 638 (Ala.1998). Under the Vinson test, Maddox has presented the same cause of action in the Alabama action as he presented in the Florida action. He is merely seeking additional, not different, relief in the Alabama action.
Under Alabama law, once a party has obtained a valid judgment on the merits of a claim, that claim is merged into the final judgment and the party is "`prevented from relitigating any matter that could have been litigated in the prior action, regardless of whether the matter was actually presented.'" Owen v. Miller, 414 So.2d 889, 890 (Ala.1981) (quoting "Issue Preclusion in Alabama," 32 Ala. L.Rev. 500, 503-04 (1981)). "Res judicata, therefore, bars a party from asserting in a subsequent action a claim that it has already had an opportunity to litigate in a previous action." Lee L. Saad Constr. Co. v. DPF Architects, P.C., 851 So.2d 507, 517 (Ala.2002). Maddox does not, and cannot, dispute that he had an opportunity to present his entire claim for attorney's fees in the Florida action. Having failed to do so, he is now barred by the doctrine of res judicata from pursuing that claim in the Alabama action.
Ex parte Progressive Specialty Ins. Co., 31 So.3d 661, 663 (Ala.2009). Because Ocean Reef has shown a clear legal right to the dismissal of the amended complaint seeking attorney's fees from Ocean Reef on the basis of the doctrine of res judicata, and because it has demonstrated the other elements necessary for the issuance of a writ of mandamus, we grant Ocean Reef's petition and direct the Alabama trial court to enter an order dismissing Maddox's complaint against Ocean Reef.
PETITION GRANTED; WRIT ISSUED.
PITTMAN, BRYAN, and THOMAS, JJ., concur.
THOMPSON, P.J., concurs in the result, without writing.