A Bakersfield, Calif., man was arraigned Tuesday before a U.S. magistrate in Salt Lake City on drug distribution and firearms possession charges following his arrest in connection with a Wyoming drug deal that went awry.

Frank X. Hinojosa, 37, was arrested Saturday after a prearranged drug deal with undercover agents in Rock Springs, Wyo., took place in Provo, said Provo Police Capt. George Pierpont.Hinojosa allegedly set up the deal with an undercover agent in Wyoming and planned to travel to Rock Springs to sell 18 ounces of cocaine, said police. However, his car broke down in Provo, and the transaction took place in Utah.

According to Pierpont, Utah and Wyoming law officers as well as officers from Provo met Hinojosa in his vehicle and allegedly bought about 11 ounces of cocaine for $12,000. The suspected dealer then was arrested.

In addition, the captain said, officers confiscated cocaine and marijuana with an estimated street value of $300,000.

The suspect was arraigned before U.S. Magistrate Ronald Boyce, who continued the proceedings while an attorney is appointed to represent Hinojosa.