Philippine President Rodrigo Duterte was bugged by a huge “liberal” cockroach during a campaign rally on Wednesday.

The insect ran up Duterte’s left shoulder as he was endorsing Senate candidates, according to video footage.

PHILIPPINES SETS DEADLINE FOR CANADA TO SHIP OUT GARBAGE IN FILTHY STANDOFF

A female aide quickly intervened to save the president from the awkward moment, but her efforts to remove the cockroach failed, prompting the insect to run down the front of the president’s shirt.

Duterte then removed the bug himself and stomped on the floor, joking that the cockroach was sent by the opposition Liberal party, according to Reuters.

“It's Liberal! That's for sure,” Duterte joked as the crowd erupted in laughter.

"It's Liberal! That's for sure." — Philippine President Rodrigo Duterte

PHILIPPINES' DUTERTE GIVES CANADA 1 WEEK TO TAKE BACK GARBAGE OR 'WE WILL DECLARE WAR'

Duterte has been campaigning amid the upcoming elections next week where people will vote to elect their representatives to in various parts of government, including local council and the upper house Senate.

Last month, Duterte threatened to “declare war” against Canada if Prime Minister Justin Trudeau fails to remove tons of trash previously shipped to Manila and also threatened to throw it on Canada's beaches.

A spokesperson for the president said the comments from Duterte were "figures of speech" and an "expression of outrage."

CLICK HERE TO GET THE FOX NEWS APP

Filipino officials said earlier this month that Canada has agreed to pay to re-export the waste it shipped to the Philippines back home, but "bureaucratic red tape" is slowing down the process. The Philippines also set a deadline of May 15 and prepared the trash for shipment by that date.

Canada said they'd pay to return their trash, but "the Canadian government has slowed down the process," the Philippine Department of Finance said in a news release on Sunday.

Fox News’ Nicole Darrah contributed to this report.