Nick Marsh of Huddersfield Golf Club is the English Amateur Champion.
England player Marsh was never behind in the showpiece, sponsored by abacus, but his opponent was always digging in.
The end came on the short 17th when, with Marsh needing just a half, Gregory conceded after his chip from left of the green hit the cup, while Marsh left his birdie putt close.
“Wow, what a match,” said Marsh. “It was a ping-pong tussle with both of us winning holes at different times, but to get this title is unbelievable.
“It means everything to me. I’ve been knocking on the door for some time. I’ve come close twice, in the Scottish and Portuguese, and to get over the line at last is amazing.
“At the 17th I hit the best three-iron I’ve hit all week. When Scott hit his tee shot left of the green it opened the door for me but I still had to get the job done.
“I could have rolled in a couple more putts which might have got the job over sooner. At 12 and 14 I didn’t get up-and-down but it came right in the end.”
One up at lunch, when he probably might have been further ahead, Marsh pushed on in the afternoon round on Saturday, winning three holes in four from the second, where he chipped-in for an eagle-three. That run included a birdie at the fourth and at four up he seemed to be sailing to victory.
Gregory had other ideas, however.
A 20ft birdie at the sixth followed by a winning par at the next cut the deficit in half, but Marsh replied with a birdie of his own at the eighth.
Marsh got the lead back up to four, but again Gregory wouldn’t lie down.
Back he came with another 20ft birdie on 11, while a par at 12 saw Marsh’s advantage back to two. They swapped the 13th and 14th to leave Marsh still two up and after halves at the 15th and 16th, the end came at the 186-yard 17th.
“When I went four down for the first time I knew I still had plenty of holes left,” said Gregory.
“I wanted to put Nick under pressure and I did the best I could. Nick was the better player on the day and deserves the title.
“I thought my chip on 17 was in but it wasn’t to be. But I’ve had a great week. There are things I need to work on but I can go away happy with what I’ve achieved.”