Donald Light appeals from the trial court’s order sustaining appellees’ preliminary objections in this action concerning an employer’s subrogation rights under Section 319 of the Workmen’s Compensation Act. The trial court found as a matter of law that an employer is entitled to subrogation when the employee receives a settlement from a third party, even if there has been no adjudication of the third party’s liability and the third party denies liability. We agree with the trial court; accordingly, we affirm.
In January 1981, appellant Donald Light was employed by appellee General Battery Corporation. In the course of his employment, he operated a machine manufactured by Winkle Machine Company. Light caught his hand in this machine; as a result of this accident, Light’s right arm was amputated. In accordance with the Workmen’s Compensation Act, Light received workmen’s compensation from General Battery’s carrier, appellee American Casualty Insurance Company.
Subsequently, Light filed a products liability action against Winkle Machine. Winkle Machine settled with Light, but maintained that it was not liable for Light’s injuries. General Battery and American Casualty sought to enforce their subrogation rights pursuant to Section 319 of the Workmen’s Compensation Act, 77 Pa.C.S.A. § 671. Light then brought this declaratory judgment action to establish that General Battery and American Casualty were not entitled to subrogation.
In his complaint, Light alleged that General Battery was solely responsible for the injury. Employers are subrogated only where the compensable injury is caused in whole or in part by a third party, thus Light concluded that General *257Battery and American Casualty were not entitled to subrogation. General Battery and American Casualty filed preliminary objections, asserting that Light failed to state a claim upon which relief may be granted. The trial court sustained the preliminary objections and dismissed the complaint. This appeal followed.
Light argues that his settlement with Winkle Machine was merely an ex gratia payment1 and does not entitle the employer to subrogation. He asserts that the employer must prove Winkle Machine’s liability in order to recover. We disagree.
Section 319 of the Workmen’s Compensation Act provides, “[wjhere the compensable injury is caused in whole or in part by the act or omission of a third party, the employer shall be subrogated to the right of the employe ... against such third party.” The Commonwealth Court has held that a compromise settlement is sufficient to establish an employer’s right to subrogation. Heiser v. Workmen’s Compensation Appeal Board (Westmoreland Casualty Co.), 95 Pa.Cmwlth. 350, 505 A.2d 1060, 1063 (1986). “[Ejither a ‘recovery’ or a ‘settlement’ with a third party will satisfy the causation requirement under Section 319.” Heiser, 95 Pa.Cmwlth. at 355, 505 A.2d at 1065, quoting the unpublished trial court opinion in Trumbull v. Paris Linen & Decorating Shops, Inc., Phila.County No. 437 July Term 1973.
The Heiser case is directly on point. In Heiser, the employee was injured in a motor vehicle accident. He received workmen’s compensation, then sued the driver of the other vehicle as a third-party tortfeasor. The employee and the third party settled out of court. In the settlement agreement, the third party expressly disclaimed liability. The referee made no factual finding regarding the respec*258tive negligence of the employer and the third party.2 Nevertheless, the referee concluded that the employer’s carrier was entitled to subrogation pursuant to Section 319. The Workmen’s Compensation Appeal Board affirmed the referee’s decision, and the Commonwealth Court affirmed.
The present case is identical in substance. The employee was injured in a work-related accident. Complaint, paragraph 7. He received workmen’s compensation. Complaint, paragraph 10. He sued an alleged third-party tortfeasor. Complaint, paragraphs 11 and 12. The employee and the third party settled the case, expressly disclaiming the third party’s liability. Complaint, paragraph 15; settlement agreement, paragraph 5. Thus, the employer is entitled to subrogation.
Other cases have drawn the same conclusion. In Hill v. Workmen’s Compensation Appeal Board (J.D. Judski Assoc.), 117 Pa.Cmwlth. 540, 543 A.2d 1279 (1988), the most recent case involving employer subrogation rights in a settlement with a third party, the employee filed two separate third-party law suits. In one of these suits, the employer was found solely liable for the employee’s injuries. The other third-party suit was settled. The referee found that the employer was entitled to subrogation, in spite of the fact that a separate action found the employer solely liable. The Commonwealth Court noted that the issue of employer negligence was irrelevant, citing Heckendorn v. Consolidated Rail Corp., 502 Pa. 101, 465 A.2d 609 (1983). The court adopted the referee’s conclusion of law, that “the funds realized from the third party action are to compensate the Claimant for the injury he sustained in the scope of his employment, and thus, the employer is entitled to subrogation.”
*259The only difference between the present case and the cases above is the procedural posture: Heiser and Hill were decided after factfinding by referee; the present case was disposed of on preliminary objections to a complaint for declaratory relief. Light argues that this difference is significant. He notes that a preliminary objection in the nature of a demurrer admits all well-pleaded facts. Light asserts that his complaint is sufficient if the trial court accepts as true the assertions that Winkle Machine did not cause the injury (paragraph 18), and that General Battery did cause the injury (paragraph 19). We do not find his argument persuasive.
As we noted above, negligence of the employer is not relevant in a subrogation claim; consequently, paragraph 19 has no impact on the sufficiency of the complaint. Paragraph 18 is not helpful because a demurrer does not admit matters in conflict with exhibits. Framlau Corp. v. County of Delaware, 223 Pa.Super. 272, 277, 299 A.2d 335, 338 (1972). Although paragraph 18 is not in conflict with the face of the settlement agreement,3 it is in conflict with the agreement’s legal effect; accordingly, that paragraph is not admitted upon demurrer.
On the facts admitted pursuant to the demurrer, the employer and his carrier would be entitled to subrogation as a matter of law. Accordingly, the trial court properly dismissed this complaint for declaratory judgment.
Cases relied on by appellant are inapposite. In Traveler’s Ins. Co. v. Hartford Accident and Indemnity Co., 222 Pa.Super. 546, 294 A.2d 913 (1972) and Pittsburgh v. Rue, 38 Pa.Cmwlth. 187, 393 A.2d 1066 (1978), the employers sought to enforce their subrogation rights against the third-party tortfeasors. Here, the employer seeks to enforce its subrogation right against the employee and the fruits of the settlement.
*260Light’s remaining arguments can be disposed of summarily. Light asserts that the trial court erred in relying on the unpublished trial court opinion in Trumbull v. Paris Linen & Decorating Shops, Inc., Phila.County No. 437 July Term 1973. This unpublished opinion was adopted by the Commonwealth Court in Heiser v. Workmen’s Compensation Appeal Board (Westmoreland Casualty Co.), 95 Pa. Cmwlth. 350, 505 A.2d 1060, 1063 (1986), as support for the exact proposition set forth in this opinion; consequently, the trial court committed no error.
Light emphasizes the effect of the 1974 amendments to the Workmen’s Compensation Act. Both of the cases that we rely on were decided after these amendments; accordingly, the amendments do not alter our opinion.
Light emphasizes the equitable nature of subrogation. Similar arguments were summarily rejected as meritless in Hill v. Workmen’s Compensation Appeal Board (J.D. Judski Assoc.), 117 Pa.Cmwlth. 540, 543 A.2d 1279 (1988).
Light claims that our opinion constitutes a judicial revision of Section 319, eliminating the statutory requirement that the third party cause the harm. We do not eliminate the causation requirement; we merely find that requirement satisfied by the existence of a settlement for the same injury.
Finally, Light asserts that “[t]he Workmen’s Compensation Act has given the employer a license to ignore the safety of its employees.” Even if that argument were true, it would not affect our decision. If Light disagrees with the statute, then he must present his grievance to the Legislature, not this Court.
Order affirmed.
KELLY, J., files concurring opinion.. Wc note in passing that the size of the settlement in this case casts serious doubt upon Light's assertion that it is an ex gratia payment. Under the agreement, Light would receive $200,000 upon settlement; $80,000 in lump sum payments over the next 20 years; and $800 per month from the time of settlement until his death.
. Appellant incorrectly asserts that "in the Heiser case it is admitted that a third party’s vehicle caused the accident.” Supp. brief at 1. On the contrary, the third party expressly disclaimed liability, Heiser, 95 Pa.Cmwlth. at 352, 505 A.2d at 1062, and the referee found only that the injury occurred "as a result of a vehicular accident with another vehicle.” Heiser, 95 Pa.Cmwlth. at 352, 505 A.2d at 1061. The referee never found that the third party caused the accident in whole or in part.
. In paragraph 5 of the settlement agreement, Winkle Machine disputes the validity of Light's claim.