SAN JUAN, Puerto Rico (AP) — A truck driver attempting to leave Puerto Rico by ferry for the Dominican Republic has been detained with more than $2 million in cash.

U.S. Customs and Border Protection agents detained the man and confiscated the cash as he was attempting to board the Caribbean Fantasy in San Juan. The agency says 22 bundles of cash were hidden in compartments inside the truck and was found Monday. Agents conduct regular checks of passengers seeking to board the ferry that crosses between the two countries, largely focusing on weapons and cash linked to the drug trade.

Spokesman Jeffrey Quinones said Tuesday that the man has been charged in a sealed indictment. He said details about the man are not being revealed because the case remains under investigation.