Democrats in 1974 and remained under Democratic control for 20 years under Hugh Carey and Mario Cuomo. Late–century Democrats became more centrist, including US Senator Daniel Patrick Moynihan (1977–2001) and New York City Mayor Ed Koch (1978–1989), while state Republicans began to align themselves with the more conservative national party. They gained power through the elections of Senator Alfonse D'Amato in 1980, Mayor Rudolph Giuliani in 1993, and Governor George Pataki in 1994. New York remained one of the most liberal states. In 1984, Ronald Reagan was the last Republican to carry the state, although Republican Michael Bloomberg served as New York City mayor in the early 21st century. Last decades of 20th century In the late 20th century, telecommunication and high technology industries employed many New Yorkers. New York City was especially successful at this transition. Entrepreneurs created many small companies, as industrial firms such as Polaroid withered. This success drew many young professionals into the still–dwindling cities. New York City was the exception and has continued to draw new residents. The energy of the city created attractions and new businesses. Some people believe that changes in policing created a less threatening environment; crime rates dropped, and urban development reduced urban decay. This in turn led to a surge in culture. New York City became, once again, "the center for all things chic and trendy". Hip-hop and rap music, led by New York City, became the most popular pop genre. Immigration to both the city and state rose. New York City, with a large gay and lesbian community, suffered many deaths from AIDS beginning in the 1980s. New York City increased its already large share of television programming, home to the network news broadcasts, as well as two of the three major cable news networks. The Wall Street Journal and The New York Times became two of the three "national" newspapers, read throughout the country. New York also increased its dominance of the financial services industry centered on Wall Street, led by banking expansion, a rising stock market, innovations in investment banking, including junk bond trading and accelerated by the savings and loan crisis that decimated competitors elsewhere in New York. Upstate did not fare as well as downstate; the major industries that began to reinvigorate New York City did not typically spread to other regions. The number of farms in the state had fallen to 30,000 by 1997.