Appellant Turner Construction Company brings this appeal from an Order of the lower court sustaining appellee Hebner’s preliminary objections to Turner’s Answer and New Matter. The pivotal question is whether, in a trespass action, an employer may waive the defense of the Workmen’s Compensation Act by failing to timely plead. We agree with the court below that in the circumstances herein the defense was waived and will therefore affirm.
On July 3, 1972, appellee’s decedent Clifford Oliver Hebner was killed while in the employ of DIC Concrete Corporation (DIC) at a construction site in Philadelphia. Suit was instituted by his widow on May 7, 1973 in the Court of Common Pleas, Philadelphia County, against Turner as “a contractor” and appellee Falcon Steel as “a sub-contractor” responsible for Hebner’s death. It was alleged that the deceased was in the employ of DIC at the time of the accident, but there was no allegation that DIC itself was a sub-contractor or that any of the other defendants were general contractors over DIC.
Counsel for Turner entered an appearance and three years passed during which the parties exchanged interrogatories and took depositions. On May 25,1976, Turner attempted to join DIC and another sub-contractor as additional defendants. On motion, the trial court struck Turner’s complaint against the additional defendants because of untimeliness. See Pa.R.C.P. 2253.
*344 Thereafter, on January 7, 1977, Turner filed an Answer and New Matter alleging for the first time that it was the statutory employer of the decedent and thus the Workmen’s Compensation Act provided a bar to the suit in trespass. Appellee Hebner then filed preliminary objections in the form of a motion to strike off the Answer and New Matter averring that the pleading was untimely, did not conform to rules of court, and that appellee would be prejudiced if the late filing were allowed. The court sustained the preliminary objections and denied Turner’s motion for reconsideration. This Court allowed an interlocutory appeal by Turner by order dated August 1, 1977. See, Pa.R.App.P. 1301 et seq.
The Workmen’s Compensation Act, Act of June 2, 1915, P.L. 736, § 101 et seq., as amended, (77 P.S. § 1 et seq.) is, of course, remedial legislation designed to afford a workman a measure of protection against injuries and relief in cases of accident apart from the common law of trespass and negligence. “By virtue of the . . Act, an employee’s common law right to damages for injuries suffered in the course of his employment as a result of his employer’s negligence is completely surrendered in exchange for the exclusive statutory right of the employee to compensation for all such injuries, regardless of negligence, and the employer’s liability as a tortfeasor under the law of negligence for injuries to his employee is abrogated.”
Socha v. Metz,
We think the Rules of Civil Procedure and a consideration of the nature of a defense under the Workmen’s Compensation Act compels the conclusion that the lower court was correct in striking Turner’s pleading. Rule 1030, applicable to trespass actions by Rule 1041, provides:
All affirmative defenses, including but not limited to the defenses of accord and satisfaction, arbitration and award, discharge in bankruptcy, duress, estoppel, failure of consideration, fraud, illegality, immunity from suit, impossibility of performance, laches, license, payment, release, res judicata, and waiver and, unless previously raised by demurrer and sustained, the defenses of statute of frauds and statute of limitations, shall be pleaded in a responsive pleading under the heading “New Matter.” See also Rule 1045.
While a defendant in a trespass action is normally not required to file an Answer, Rules 1030 and 1045 are mandatory in that affirmative defenses must be timely plead, under penalty of waiver. Goodrich-Amram 2d, § 1045(a): (1) . The dispute both below and on appeal has centered on whether the “statutory employer” defense is an affirmative defense under the Rules, making it waivable, or whether the Workmen’s Compensation Act is a type of defense which can never be waived.
We must first of all reject appellant’s contention that the Act, where applicable, is a bar to a court’s subject matter jurisdiction, which would allow the defense to be raised at any time, even by the court
sua sponte.
Rule 1032 (2) ;
Chemical Nat. Resources v. Republic of Venezuela,
Nor do we find this is a case where the Act’s provisions will
presumptively
apply if the plaintiff fails to allege in the complaint rejection thereof. “A complaint may be dismissed if it discloses an employer-employee relationship but does not allege facts taking the case out of the exclusive coverage of the Act.” 42a P.L.E. p. 430;
Ventura v. Skylark Motel,
We agree with the court below that the affirmative defense of “immunity” encompasses a defense under the Workmen’s Compensation Act. “[Wjhere an accident is covered by the Workmen’s Compensation Act, the employer is
immune
from suit by the employee . . . [The statutory employer is likewise]
immune
from common law liability for negligence to the employee of his subcontractor”. Feldman, Trial Guide, § 21.8, 21.9 (1978) (emphasis added). Pennsylvania cases have often suggested that an allegation
*347
of defense of the Workmen’s Compensation Act to a trespass action is in the nature of an immunity and an affirmative defense.
DeJesus
v.
Liberty Mutual Insurance Co.,
Socha v. Metz,
supra,
Finally, the lower court found that appellee would be prejudiced if Turner should be allowed to plead its defense at this late date. The court found that the “delayed filing will substantially prejudice plaintiff in that plaintiff’s ability to sue on the underlying cause of action other responsible parties has been cut off by the Statute of Limitation.” Opinion at 3. We cannot say such a determination manifested an abuse of the lower court’s discretion to disallow the late pleading. See,
Pugh v. Bankers Mutual,
Order affirmed.
Notes
. Some dicta in other cases might suggest a contrary result.
American Casualty Co. v. Kligerman,
. In
Repyneck v. Tarantino,
supra,
. The 1974 Amendments’ to the Act now bar the joinder of plaintiff’s employer as an additional defendant in an action brought by the plaintiff-employee against a third party. 77 P.S. § 481(b). See,
*348
Atkins v. Urban Redevelopment Auth.,
