Actually, Guiliani ran a city that has a higher population than some states and a city government more complex than a lot of statehouses.

For example, the population of New York City alone is more than ten times that of Vermont (home of former Democratic frontrunner Howard Dean).

Basically, given its size and complexity, being mayor of New York is not unlike being a 51st governor.