ALBANY — Looking to beat the clock, Gov. Cuomo on Tuesday pardoned an immigrant man hours before his deportation hearing.
Harveys Gomez, 39 who lives in the Bronx, has been in federal Immigration and Customs Enforcement since October.
Gomez was busted in 2009 on drug sale charges and spend six months in jail. He was also given five years probation, which he completed.
He came to the U.S. from the Dominican Republican when he was 8.
RELATED: See Gov. Andrew Cuomo throughout his career:
Andrew Cuomo through the years
Andrew Cuomo through the years
New York Governor Andrew Cuomo and girlfriend Sandra Lee look on as Pope Francis tours Our Lady Queen of Angels School in East Harlem in New York, September 25, 2015. REUTERS/Brendan McDermid
New York state Governor Andrew Cuomo waves as he arrives to speak on the fourth and final night at the Democratic National Convention in Philadelphia, Pennsylvania, U.S. July 28, 2016. REUTERS/Jim Young
Democratic U.S. presidential candidate Hillary Clinton (2nd R) gestures to the crowd as she takes part in the Memorial Day parade with former U.S. President Bill Clinton (L) and New York State Governor Andrew Cuomo (R) in Chappaqua, New York, U.S. May 30, 2016. REUTERS/Adrees Latif TPX IMAGES OF THE DAY
New York Governor Andrew Cuomo (L) shakes hands with James Dolan, Executive Chairman of The Madison Square Garden Company following a press conference to announce major transportation initiatives in the Manhattan borough of New York, January 6, 2016. Cuomo promised the "largest investment in upstate New York in history, period" promising a $22 billion investment in bridges and roads as he aims to reverse years of decline in the rustbelt north of New York City. REUTERS/Carlo Allegri
U.S. Vice President Joe Biden appears with New York Governor Andrew Cuomo on the stage at an event to discuss the economy at the Javitz Convention Center in New York, September 10, 2015. REUTERS/Brendan McDermid
New York Governor Andrew Cuomo speaks during a "Raise the Wage" rally in New York May 7, 2015. Governor Cuomo said on Wednesday he would create a so-called Wage Board, a move apparently designed to allow him to raise the minimum wage without the approval of state lawmakers. REUTERS/Brendan McDermid
New York Governor Andrew Cuomo (L) and Archbishop of Havana Cardinal Jaime Ortega shake hands in Havana April 20, 2015. New York Governor Andrew Cuomo met senior Cuban officials in Havana on Monday as the head of a high-powered business delegation looking to take advantage of President Barack Obama's easing of restrictions with the Communist-led island. Cuomo, a Democrat, is the first governor to visit Cuba since a December announcement by Obama and Cuban President Raul Castro that they would restore diplomatic relations and work to normalize trade and travel ties after more than a half century of hostility and confrontation. REUTERS/Enrique de la Osa
New York Governor Andrew Cuomo stands with his mother Matilda and other members of his family as he watches the casket of his late father, former New York Governor Mario Cuomo, being carried into St. Ignatius Loyola Church for funeral service in the Manhattan borough of New York, January 6, 2015. Mario Cuomo, the three-time governor of New York and a leading voice of the Democratic Party's liberal wing who turned down several invitations to seek the U.S. presidency, died on January 1 at his home in Manhattan. He was 82. REUTERS/Brendan McDermid (UNITED STATES - Tags: POLITICS OBITUARY)
New York Governor Andrew Cuomo and his partner Sandra Lee depart the wake for slain New York Police Department officer Wenjian Liu in the Brooklyn borough of New York January 3, 2015. Liu, 32, and Rafael Ramos, 40, were shot to death on December 20 as they sat in their squad car in Brooklyn. Their killer, Ismaaiyl Brinsley, who killed himself soon after, had said he was seeking to avenge the deaths this summer of two unarmed black men at the hands of white police officers REUTERS/Carlo Allegri (UNITED STATES - Tags: SOCIETY CIVIL UNREST CRIME LAW)
Discover More Like This
BACK TO SLIDE
"Harveys Gomez has paid his debt to society for a crime committed nearly a decade ago and poses no threat to society. America is his home — he has a family here, works here and has lived here for over 30 years," Cuomo said.
Cuomo’s office said Gomez, 39, is openly gay, HIV positive, and a survivor of childhood sexual abuse.
Including Gomez, Cuomo has pardoned 34 people, including seven in July, in hopes of keeping them from being deported. Most have come since the Trump administration has gotten more aggressive about deporting people, Cuomo spokesman Richard Azzopardi said.
The idea is to erase the criminal record that has them facing deportation. But the moves don’t guarantee the feds still won’t boot the person from the country.
"New York will always fight to protect the immigrant community from the federal government's targeted attacks on our values,” Cuomo said. “We will not stand by as President Trump wages a war against everything we stand for."