A crowd of people on a pitch erupted into loud cheers as the referee whistled.