Islamabad: A Pakistani court dropped a case against a U.S. law enforcement agent charged with weapons offenses for trying to board a flight while carrying bullets and a knife in his luggage.

The incident revived memories of Pakistan’s 2011 arrest of a CIA contractor, who shot dead two men he thought were trying to rob him, souring U.S.-Pakistani ties at a time when the two nations were already deeply suspicious of each other.

In the current case, Pakistani authorities arrested Joel Cox, a Federal Bureau of Investigation agent, at the airport in the southern city of Karachi after he tried to board a civilian flight with the knife and 15 9-mm bullets, police said.

He spent three nights in jail before being freed on a $10,000 bond.