WASHINGTON (AP) — President Donald Trump has raised the tariff rate on U.S. imports from Canada to 35 percent from 25 percent, effective Aug. 1.

The announcement from the White House said Canada had failed to “do more to arrest, seize, detain or otherwise intercept … traffickers, criminals at large, and illicit drugs.”

Trump has heckled Canada for months and suggested it should become the 51st U.S. state. He had threatened to impose the higher tariff on Canada if no deal was reached by Aug. 1, his deadline for reaching trade agreements with dozens of countries.

The president earlier said Canada’s announcement it will recognize a Palestinian state would “make it very hard” for the United States to reach a trade agreement with its northern neighbor. Trump also has expressed frustration with a trade deficit with Canada that largely reflects oil purchases by America.

Prime Minister Mark Carney had tempered expectations over tariffs, saying Ottawa would only agree to a deal “if there’s one on the table that is in the best interests of Canadians.”

In a statement, he said he was disappointed by Trump’s actions and vowed to diversify Canada’s exports.

“Canada accounts for only 1 percent of U.S. fentanyl imports and has been working intensively to further reduce these volumes,” he said, pointing to heavy investments in border security.

Carney added that some industries — including lumber, steel, aluminum and automobiles — will be harder hit, but said his government will try to minimize the impact and protect Canadian jobs.

Trump sent a letter to Canada a few weeks ago warning he planned to raise duties on many goods imported from Canada to 35 percent, deepening the rift between the two North American countries that has undermined their decades-old alliance.

Some imports from Canada still are protected by the 2020 United States-Mexico-Canada Agreement, or USMCA, which is up for renegotiation next year.

The White House’s statement said goods transshipped through Canada that are not covered by the USMCA would be subject to a 40 percent tariff rate. It did not say where the goods might originate.