OPINION BY
Dаrwin and Shirley Tobias appeal an order of the Dauphin County Court of Common Pleas granting Halifax Township’s motion for judgment on the pleadings in a civil action arising out of a longstanding dispute between the Tobiases and the Township ovеr the realignment and reconstruction of Keefer Road, which abuts and bisects the Tobiases’ property. The trial court held that the Tobiases’ claim for “reversion costs” 1 to restore their property to its condition prior tо construction was barred by the doctrine of res jvdicata. We affirm.
In 1997, the Township decided to realign the course of Keefer Road to remove a dangerous curve in the road. Because the Township proposed to have the reconfigured roadway cross the Tobiases’ property, the parties entered into a contract. The Township agreed, inter alia, to construct the road in accordance with specifications in the contract, and the Tobiases agreed to execute a deed of dedication to the Township upon completion of the project.
The Township completed the reconstruction of Keefer Road in 1999, at which point the Tobiases instituted a breach of con
Thereafter, on November 20, 2007, the Tobiases instituted a second action against the Township, again challenging the construction of Keefer Road. This time the Tobiases wanted the portion of the realigned road that crossed over their land removed. Their basis for seeking this relief was thе fact that the Township did not construct the Road in conformance with the contract, and as such, a deed of dedication was never given. The complaint sought the Township’s removal of 36,910 square feet of roadway, which is illustrated in “Plaintiffs’ Exhibit B.” Reproduced Record at 14a. This area represents the entire portion of Keefer Road which was realigned to remove the dangerous curve. Thus, the Tobiases seek to have the Township realign Keefer Rоad, this time to its pre-1999 configuration, and to return their land to its pre-1999 condition. Count I of the complaint seeks damages in the amount of $211,849.05, which represents the cost of removing the trespassing portions of the road; installing storm sewers; reconstructing the roadway; and restoring the land to its 1999 condition. Count II seeks the abatement of storm water runoff occurring at a different portion of the Road.
The Township filed a motion for judgment on the pleadings, asserting, inter alia, that Count I was barred by res judi-cata. The trial court granted the Township’s motion, holding that the Tobiases could have raised their so-called “reversion” claim in the 1999 action. 3 The present appeal followed.
On appeal,
4
the Tobiases contend that the trial court erred and abused its discretion in holding that Count I was barred by
res
judicata,
5
The Tobiases
The Township counters that the Tobias-es are simply attempting to relitigate matters that have already been litigated to conclusion. 6 The Township notes that in the 1999 action the Tobiases sought damages for the Township’s failure to construct the road in accordance with the contractual specifications. In the present action, the Tobiases seek damages for removal оf that portion of the road that now trespasses upon their land because the Township breached the contract. 7
Under the doctrine of
res judica-ta,
or claim preclusion, an action is barred because it is grounded, either in whole or in part, upon а claim which was the subject of a prior adjudication by a court of competent jurisdiction.
R/S Financial Corp. v. Kovalchick,
In order for the doctrine of
res judicata
to apply four conditions must concur: (1) identity of the thing sued uрon or for; (2) identity of the cause of action; (8) identity of the persons and parties to the action; and (4) identity of the quality or capacity of the parties.
Stevenson v. Silverman,
When determining whether two causes of action are the same for purposes of
res judicata
we look to,
inter alia,
the similarity of the acts complained of, the demand for recovery, and the facts alleged.
Swift,
Here, the two causes of action are identical. The 1999 and the 2007 complaints allege virtually identical facts. Each action claimed that the Township failed to construct Keefer Road in accordance with the agreement, and each action sought monetary damages for this alleged breach of contract. In both cases, the Tobiаses explain they did not execute a deed of dedication to the Township because of the Township’s breach of contract.
Styling their 2007 complaint as one for “reversion,” as opposed to one for breaсh of contract, does not defeat res judicata. The Tobiases seek $211,849.05 in damages, so that they may have their property returned to its original condition. In 1999, they sought to have Keefer Road constructed in accordance with the agrеed-upon contract terms or the payment of $313,486.42 in damages. In the 1999 action, trial court found that Keefer Road had been adequately constructed and that its course did not need to be realigned. 8 The Tobiases claim that thеir cause of action for “reversion” damages could not be brought until completion of the first trial, which they lost. Because they lost, now the road is trespassing on their land. 9
Res judicata
bars
all
causes of action that were either raised or
could have been raised
during a prior proceeding.
R/S Financial Corp.,
We hold that the trial court did not err dismissing Count I of the Tobiases’ complaint by reason of res judicata. Accordingly, we affirm.
ORDER
AND NOW, this 26th day of August, 2011, the order of the Court of Common Pleas of Dauphin County, dated June 23, 2009, in the above-captioned matter is herеby AFFIRMED.
Notes
. The Tobiases have used the term "reversion” in an unusual way. A "reversion” is a future interest in land that arises by operation of law when a grantor of an estate fails to dispose of his entire interest. Black’s Law Dictionary at 1320 (7th. ed., 1999). According to their complaint, the Tobiases are requesting "judgment against the [Township], for the necessary reversion costs to restore the [Tobiases'] property to its condition and realignment of the said Keefer Road prior to August 25, 1997....” Reproduced Record at 6a.
. The record does not explain what action constituted a breach or what loss was compensated by the $16,000 award.
. The trial court did not dismiss Count II of the complaint. Count II went to a jury trial, and a verdict was entered in favor of the Township on August 24, 2010.
. Our scope of review of an order granting a motion for judgment on the pleadings is limited to determining whether the trial court committed an error of law or whether questions of material fact remain outstanding, such that the case should have gone to the jury. Our standard of review of an order granting or denying a motion for judgment on the pleadings is plenary.
Trib Total Media, Inc. v. Highlands School District,
. In arguing the trial court abused its discretion, the Tobiases assert that the trial court,
sua sponte,
raised issues that were not properly before it. Specifically, the Tobiases take issue with a portion of the trial court's Rule 1925(a) opinion in which it notes that it did not understand why a deed of dedication was not issued or why the Township had not executed a taking of the Tobiases’ land.
See
Trial Court Opinion, January 13, 2011, at 3. This argument is of no moment. As noted in the opinion itself, the court was simply "wonder[ing] out loud.” Because these statements were merely
dicta
and did not form the basis of the trial court’s decision, they are irrele
. The Township also argues that the Tobiases’ claim is barred by the statute of limitations, which is four years for breach of contract actions and two years for trespass actions. See 42 Pa.C.S. §§ 5525, 5524. The Township raised this issue below, but the trial court did not address it.
. The Township also contends that the Tobias-es' claim is barred by collateral estoppel. However, since the doctrine of res judicata subsumes the doctrine of collateral estoppel we need not separately address this issue. See Callowhill Center Associates, LLC v. Zoning Board of Adjustment, City of Philadelphia, 2 A.3d 802, 809 (Pa.Cmwlth.2010).
. This finding of the trial court is not apparent from the record. Both parties agree in their briefs that the 1999 action determined that Keefer Road did not have to be realigned.
. If the Tobiases are correct about the trespass then they may have a cause of action for a de facto taking under the Eminent Domain Code, 26 Pa.C.S. §§ 101-1106.
