By DEEPTI HAJELA
NEW YORK (AP) - In 1977, New York City was deep into its worst fiscal crisis ever. Riots erupted that summer during a blackout. And a fire in one of the most blighted, bombed-out parts of town that fall led Howard Cosell to announce during a World Series game at Yankee Stadium: "Ladies and gentlemen, the Bronx is burning."
Into that mess stepped Ed Koch as the city's newly elected mayor. Within a few years, New York was back on firmer financial footing and the fears that the city was sliding into anarchy had given way to a new sense of energy and optimism.
Koch didn't do it all by himself, but is credited with hectoring, cajoling and noodging the city to make the hard decisions on its road back.
"The whole city was crumbling, and then we elected Ed Koch," Mayor Michael Bloomberg said Friday during a ceremony marking the centennial of Grand Central Terminal, a once-crumbling edifice Koch helped save from the wrecking ball.
"When we were down, Ed Koch picked us up. When we were worried, he gave us confidence," Bloomberg said. "When someone needed a good kick in the rear, he gave it to them _ and, if you remember, he enjoyed it."
The brash, opinionated Koch, who led the city in the late 1970s and `80s with a combination of determination, chutzpah and humor, died Friday of congestive heart failure at age 88.
A funeral was set for Monday in Manhattan as tributes poured in from presidents, political allies and adversaries, some of whom were no doubt thinking more of his earlier years in City Hall, before many black leaders and liberals became fed up with what they felt were racially insensitive and needlessly combative remarks.
The Rev. Al Sharpton said that although they disagreed on many things, Koch "was never a phony or a hypocrite. ... He said what he meant. He meant what he said. He fought for what he believed."
President Barack Obama said in a statement that Koch's energy, force of personality and sense of commitment "always informed and enlivened the public discourse." Former President Bill Clinton and former Secretary of State Hillary Rodham Clinton praised him as a leader who "stood up for the underprivileged and underrepresented in every corner of every borough."
During Koch's three terms from 1978 to 1989, he helped New York climb out of its financial crisis through tough fiscal policies and razor-sharp budget cuts.
To much of the rest of America, the bald, paunchy figure became the embodiment of New York City's brash, irrepressible character _ the mayor who raced around town asking average New Yorkers, "How'm I doing," and usually being in too much of a hurry to wait for an answer.
Quick with a quip or a putdown, Koch dismissed his critics as "wackos," feuded with Donald Trump ("piggy") and fellow former Mayor Rudolph Giuliani ("nasty man"). He lambasted the Rev. Jesse Jackson and once reduced the head of the City Council to tears.
"You punch me, I punch back," Koch once observed. "I do not believe it's good for one's self-respect to be a punching bag." Or as he put it in his best-selling autobiography "Mayor": "I'm not the type to get ulcers. I give them."
Koch's favorite moment as mayor, fittingly, was a loud one. During a 1980 transit strike, he strode down to the Brooklyn Bridge to boost the spirits of commuters who had to walk to work.
"I began to yell, `Walk over the bridge! Walk over the bridge! We're not going to let these bastards bring us to our knees!' And people began to applaud," he recalled last year.
But New Yorkers eventually tired of Koch. Homelessness and AIDS soared in the 1980s, and critics charged that City Hall's response was too little, too late. Koch's latter years in office were also marked by scandals involving those around him and rising racial tension.
In 1989, he lost a bid for a fourth term to David Dinkins, who became the city's first black mayor.
A lifelong bachelor who lived in Greenwich Village, Koch championed gay rights, taking on the Roman Catholic Church and scores of political leaders. His own sexual orientation was the subject of speculation and rumors. During his 1977 mayoral campaign against Mario Cuomo, posters that read "Vote for Cuomo, Not the Homo" mysteriously appeared in some neighborhoods.
Koch offered a typically blunt response to inquiries about his sexuality: "My answer to questions on this subject is simply, `F--- off.' There have to be some private matters left."