SAN FRANCISCO—After a FBI investigation ,a local man was convicted on December 7 in relation to charges involving drug trafficking.

David Perez Hernandez, 20, was sentenced to six years in federal prison, the United States Attorney Brian J. Stretch and Federal Bureau of Investigation Special Agent in Charge John F. Bennett said.

The sentence was handed down after Hernandez admitted he was in possession of a fireman and methamphetamine with the intention to distribute on September 15, 2016 with a guilty plea.

A federal grand jury indicted Hernandez on July 5, 2016 and charged him with one count of possession with intent to distribute and one count of using, carrying, or possessing a firearm during a drug trafficking crime after he was found with 6.8 kilograms of a mixture that contained methamphetamine on March 3, 2016.

U.S. District Judge Richard Seeborg also order Hernandez to serve three-years of probation after his released from prison. Hernandez has been in federal custody since his arrest in July and will start serving his six year sentenced immediately according to the Department of Justice.