SAN JOSE — Homestead coach Matt Wright made his way back onto the court after the trophy presentation Saturday night. He had to spend a few minutes with the opposing player who simply would not leave the hot and charged up Piedmont Hills gym without a championship.

Jordan Martinez made 10 shots from beyond the 3-point arc — some way beyond — and finished with 36 points as Piedmont Hills broke open a tight game in the final two minutes and prevailed 75-64 to claim the Central Coast Section Division I title.

Martinez, listed at 5-foot-6 and 137 pounds, sank seven 3-pointers and scored 35 points in the semifinals against Santa Clara.

The senior was even better in the final.

“He was making some of the most incredible shots I have seen on a high school basketball court,” Wright said.

Piedmont Hills needed everything Martinez had, plus a spectacular night from senior Alijah Washington, who finished with 27 points, to stave off eighth-seeded Homestead.

YEARBOOK: Check out our best photos from unprecedented prep sports year

The visitors wobbled in the second quarter as Martinez scored 16 points to push the Piedmont Hills lead to 17. But the Mustangs, who upset top-seeded Independence in the quarterfinals, cut the margin to 10 by halftime and began the second half on a 12-2 run to pull even 44-44 midway through the third quarter.

Daniel Brathwaite finished with 25 points and Patrick Yeh had 14 points for Homestead.

But Martinez and Washington immediately steadied the leaking ship for the second-seeded Pirates, with Martinez sandwiching two 3-pointers around a basket by Washington to make it 52-44.

“I was thinking they were going to come back with energy and they did,” Martinez said. “I wasn’t wrong. But I knew we could never give up because we wanted to win.”

Homestead cut the deficit to two on three occasions in the fourth quarter, the last at 62-60 on a basket by Brian Sathy with four minutes to play.

The Mustangs never could grab the lead as Martinez continued to sizzle. His 3-pointer from the top stretched the advantage to five with three minutes left. Another 3-pointer by Martinez made it 68-62 with 1:11 to go and another one extended the lead to 71-62.

“Nothing could go wrong when he’s hitting like that,” Washington said.

Piedmont Hills coach Anthony Cuellar said he knew Martinez wouldn’t cool off after his performance in the semifinals, noting all the shooting he does in the gym, at home, anywhere with a hoop.

“The kid has a different type of mentality,” Cuellar said. “He has the ultimate belief. I think that’s what carries him. He’s got ultimate confidence.”

The 36 points, Martinez said, were the most he’s scored in a varsity game.

“It’s so surreal,” he added. “It’s a legendary game, that’s all I’ve got to say. I am blessed to be in this moment right now.”

The storyline coming into the final was Wright, who drove to Lake Tahoe immediately after his team’s victory over Mountain View in the semifinals Thursday for his wedding Friday.

Wright returned to the Bay Area on Saturday, arriving about three hours before the 7 p.m. tip-off.

He planned to drive back to Tahoe on Saturday night.

“I wouldn’t trade my wedding for anything,” Wright said. “But I wish I had one more day to get ready for this game. Not to take anything away from them, obviously. They performed. But I am so proud of my team.”

The coach on the other bench had a good storyline, too. Cuellar played for Pete Simos at Piedmont Hills more than a decade ago, then coached under his mentor until moving into the head-coaching role when Simos stepped down in 2018.

The former coach watched from the bleachers Saturday.

“That’s like my big brother,” Cuellar said, after a moment to compose himself. “Having Pete Simos out there, he’s a huge mentor. He helped me a lot. … I jumped on his wagon, man. It all comes back to him.

“Being in his program and growing up in this neighborhood, going to Ruskin Elementary, going to Sierramont Middle School, coming right over here, being born right across the street from this school, I mean so many emotions, so many things going on.

“All of that and going to a CCS final and being able to put a banner up … it’s priceless to me.”

The championship was Piedmont Hills’ second in seven trips to a CCS final. Simos’ 2016 team won the program’s first title.

For Washington, the championship completed unfinished family business. His father, Lynn, led Andrew Hill to a CCS final in 1996 but lost in double overtime to Woodside.

“Everyone’s name is up there,” Washington said, pointing to Piedmont Hills’ 2016 CCS banner. “So everyone will remember us.”

Photos: Piedmont Hills 75, Homestead 64

SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills coach Anthony Cuellar poses with his team after they won the Central Coast Section Division I boys basketball championship game against Homestead, 75-64, at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group) 
SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills’ Mykiah Wyche lifts his jersey while celebrating the Central Coast Section Division I boys basketball championship after defeating Homestead, 75-64, at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group) 
SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills’ Jordan Martinez gets sandwiched between Mykiah Wyche (left) and Richard Corona after winning the Central Coast Section Division I boys basketball championship game against Homestead, 75-64, at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group) 
SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills’ Mykiah Wyche (23) and Homesteads’ Danny Brathwaite (25) rise up for the opening tip off of their Central Coast Section Division I boys basketball championship game at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group) 
SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills’ Mykiah Wyche drives the lane against Homesteads’ Kai Levenson (21) and Danny Brathwaite (25) in the Central Coast Section Division I boys basketball championship game at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group) 
SAN JOSE, CALIFORNIA – JUNE 12: Piedmont Hills’ Mykiah Wyche drives the lane against Homesteads’ Kai Levenson (21) and Danny Brathwaite (25) in the Central Coast Section Division I boys basketball championship game at Piedmont Hills High School in San Jose, Calif., Saturday, June 12, 2021. (Karl Mondon/Bay Area News Group)