Did you run out of fuel?
A vacuum gauge on the fuel line will help diagnose fuel related problems by showing if they are any resrictions in the fuel line.
If it is fuel related, it could be air leaking into the fuel system, clogged intank screen, tank vent, fuel filter, water in the fuel or you just filled it with bad fuel.