Martin finished with 192 passing yards and the Hawks limited three-time state champion Central Catholic to less than 250 total yards of offense. Martin had two long TD passes in the second half as the Prep scored 28 unanswered points to seal the win.
It is St. Joseph's Prep's first Class AAAA title.
Vikings quarterback and Florida State recruit JJ Cosentino completed one pass before leaving in the third quarter with a leg injury. Central Catholic was just 1 of 12 on third-down conversions and finished the season at 15-1.
"It's amazing, the way we started the season with not a lot of seniors," said Martin, a 5-foot-10 senior who completed 18 of 25 attempts. "A lot of people doubted us, but to come here and finish No. 1 in the state is just unbelievable."
The Vikings used Cosentino's 1-yard plunge and Mitchell MacZura 29-yard field goal late in the second quarter to build a 10-7 advantage at intermission.
But Prep linebacker Ryan McNulty and linemen Jake Strain, two defensive standouts, helped turn back Central Catholic's opening series after the break.
Martin made the most of his first chance in the second half, finding John Reid for a 59-yard scoring strike that put the Hawks ahead for good. The Prep pushed its lead to 21-10 just seconds into the fourth when Joe DuMond grabbed a perfectly executed back screen from Martin and raced 14 yards for a score with 11:51 remaining.
The seven-play, 80-yard drive was extended by an ill-timed personal foul call on Central Catholic linebacker Niko Thorpe.
"They just came out and took the momentum away from us in that first series, and they didn't give it back," Vikings head coach Terry Totten said. "Then we got a penalty and had a couple of injuries that added to the momentum that they created."
Central Catholic's comeback bid was hampered by the losses of Cosentino and top rusher Luigi Lista-Brinza, who missed three drives with a leg injury down the stretch. Lista-Brinza finished with 129 yards on 22 carries.
"We did it week in and week out. Our defense bowed up and didn't break when it counted most," said Prep coach Gabe Infante, who interrupted his postgame celebration with field a call from Philadelphia Mayor Michael Nutter. "I'm very proud of those kids. We played our game. We did what we do. We played great competition this season and that competition prepared us for this game."
NOTES: Two-way standout Vince Moffett, who hauled in Martin's first TD pass, good for 26 yards, capped the scoring with a 16-yard touchdown run with 4:35 to play. ... The Hawks picked up four sacks and recovered a pair of Central Catholic fumbles. ... The title game and the Class AA championship were postponed on Saturday due to inclement weather.