Former Gary Mayor Richard Hatcher, who became one of the first black mayors of a big U.S. city when he was elected in 1967, has died. He was 86.

Hatcher died Friday night at a Chicago hospital, said his daughter, Indiana state Rep. Ragen Hatcher, a Gary Democrat. She did not provide a cause of her father's death.

The Hatcher family said in a statement that “in the last days of his life, he was surrounded by his family and loved ones.”

“While deeply saddened by his passing, his family is very proud of the life he lived, including his many contributions to the cause of racial and economic justice and the more than 20 years of service he devoted to the city of Gary," the family added.

Hatcher had to overcome opposition from the local Democratic machine to become mayor of what was then Indiana's second-largest city in a surprise victory in 1967. He went on to serve five terms.

Hatcher became the political face of Gary and a political force for blacks after his groundbreaking election. He organized the 1972 National Black Political Convention in Gary and served as chairman of Jesse Jackson's Democratic presidential campaign in 1984 and vice chairman four years later.

But his mayorship was also marred by the steel city’s deterioration.

The election of Hatcher, then a 34-year-old activist, lawyer and City Council president, sparked high emotions in Gary. He defeated incumbent A. Martin Katz in the primary by more than 2,300 votes, prompting a celebration that forced police to shut down a six-block section of Broadway for four hours.

The celebration was short-lived. When Hatcher refused to allow Lake County Democratic leaders to pick the city's police chief, city attorney and fill other major positions in Hatcher's administration, party Chairman John Krupa told him the party wouldn't support Hatcher during the general election. Not only that, the party worked for his Republican opponent, Joseph Radigan.

Although Gary hadn’t had a Republican mayor since 1938, it was a difficult challenge for a campaign that had spent most of its money on the primary and now had no party to back it. Hatcher managed to raise $8,000 to run full-page campaign ads in The New York Times and the Post-Tribune in Gary. The ad read, "Richard Hatcher is battling bigotry and ignorance. And he needs your help.”

Those ads brought in more than $250,000, drew invitations to appear on TV and radio shows, and attracted the attention of Sen. Robert Kennedy, Vice President Hubert Humphrey and others who held fundraisers.

“It was unbelievable," Hatcher, who kept a framed copy of the ad on his office wall, said in a 2011 interview with The Associated Press. "We ended up having enough money to run a decent campaign."

He gave credit for his election to the city's black residents, who made up slightly more than half of Gary's population of about 175,000 residents in 1967 but trailed whites in the number of registered voters.

"There was a tremendous spirit in the city and the black community was very united," he said. "I think I received about 7% of the white vote. The other white candidates divided up the white vote, they really split it, which made it possible for me to win."

During his inauguration speech, Hatcher said his primary goal was to make the city a decent place to live for his “brothers and sisters.”

"Gary is a rising sun. Together, we shall beat a way; together, we shall turn darkness into light, despair into hope and promise into progress," he said.

Hatcher attracted hundreds of millions of dollars in federal money to Gary in his 20 years in office, some of which was used to build low-cost housing and the first public housing units in the city in nearly two decades. He also got federal funds for jobs training; repaved deteriorating streets; and put many inner-city neighborhoods on regular garbage collection for the first time.

The changes extended to City Hall. When he was elected, only two of the city's department heads were black. A decade later, 25 of the city's 40 department heads, including the police and fire chiefs, were black.

Even before he became mayor, Hatcher was making changes. As a member of the City Council, he helped pass an open housing law to end restrictive property covenants that forced blacks to live primarily in Gary's midtown section.

But Hatcher couldn’t stop Gary’s decline, which coincided with that of the U.S. steel industry. The company town, founded in 1906 by U.S. Steel Chairman Elbert H. Gary, had flourished as the industry did. While Hatcher was in office, U.S. Steel cut its workforce from 35,000 in the early 1970s to 25,000 by the early 1980s.

Businesses were shuttered as banks and shops moved to the suburbs. Crime increased, and by 1984, Gary had the nation's highest per-capita homicide rate.

Many white residents fled the city. The percentage of blacks grew to 71 percent by 1980, up from 53 percent a decade earlier.

By the time Hatcher left office in 1987, the city had lost 50,000 residents. When Hatcher lost the primary, police again shut down Broadway so people could celebrate.

Hatcher told the AP that he was proud of his accomplishments in office. “Maybe for some people in Gary it may not be better. But for others it may seem very much better,” he said in 2011.

Richard Gordon Hatcher was born July 10, 1933, in Michigan City, Indiana. He was one of 13 children whose father molded railroad car wheels and whose mother was a factory worker. He graduated from Indiana University, earned a law degree from Valparaiso University and moved to Gary after becoming a deputy prosecutor.

He married his wife, Ruthellyn, in 1976. They had three daughters, Ragen, Rachelle and Renee.