Prosecutors say 41-year-old Eric Berkowitz offered someone $5,000 to kill his ex-girlfriend, and two men she had dated after their seven-year relationship ended.
Officers in Upper Dublin Township say they recorded Berkowitz talking about the plan.
He was arrested on Wednesday in an Uber outside of his residence, allegedly on his way to his ex-girlfriend's house.
Police say he had a duffel bag with a gun, ammunition, cocaine, and a large sum of cash.
Berkowitz is charged with three counts of criminal solicitation for murder and three counts of attempted murder, among other charges.
He has been denied bail.