King's Lynn Town claimed three valuable away points after an incredible finale.
Lynn went behind to Kane Ferdinand goal on four minutes but turned it around early in the second half with goals from Malachi Linton and Ross Barrows.
But the drama came in time added on when the hosts won a penalty, despatched by Sam Barratt.
It looked like Lynn's efforts were worth only a point, but then substitute Brett McGavin fired the ball home - and Lynn weathered the Maidenhead storm to claim only their second win of the season.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here