with him. Following the killing of gay University of Wyoming student Matthew Shepard, Maloney was one of two representatives Clinton sent to his funeral. In an article about the event, a newspaper noted that Maloney often called himself "the highest-ranking openly homosexual man on the White House staff". 2006 attorney general election Maloney ran for the Democratic nomination for New York Attorney General in 2006. According to Gay City News, his "competitive fundraising and wide travels across the state during the past year have impressed many party professionals with the seriousness of his run." During the campaign, Maloney was endorsed by the New-York-state-based gay rights organization Empire State Pride Agenda and Karen Burstein, the first lesbian to run for attorney general, in 1994. Consistently polling in the single digits, Maloney was offered a chance to run for the office on the Liberal Party ticket but declined, saying he would support whoever won the Democratic nomination. Maloney finished third in the September 12 primary, with 9.4% of the vote. Former U.S. Secretary of Housing and Urban Development Andrew Cuomo won. In his concession speech, Maloney said, "[T]his day may not be the outcome we hope, but I make you a promise that there will be another day." Secretary to the Governor Maloney joined Governor Eliot Spitzer's administration in January 2007 as First Deputy Secretary under top adviser Rich Baum. The Eliot Spitzer political surveillance controversy (popularly known as "Troopergate") broke out on July 23, 2007, when Cuomo's office admonished Spitzer's administration for ordering the State Police to create special records of Senate Majority Leader Joseph Bruno's whereabouts when he traveled with police escorts in New York City. A New York Times editorial suggested that Maloney might have been involved by withholding emails during the investigation, and the Times endorsed Maloney's 2012 election opponent because of its concerns about Maloney's handling of the investigation. The Wall Street Journal wrote in July 2012, "[G]enerally, those involved in the investigation on both sides defend Mr. Maloney's conduct. Mr. Cuomo's chief of staff at the time, Steve Cohen, called the idea that Mr. Maloney got in the way of the Attorney General's inquiry 'misinformed to the point of being laughable.'" Maloney continued in the same role as a top adviser to Governor David Paterson's administration under his top adviser, Charles O'Byrne. While working for Paterson, Maloney worked on Paterson's effort to increase state aid to