The Friends alum described the incident as shameful.

It all started out as a conversation about being half-American, half-Canadian on Jimmy Kimmel Live.

Talk show host Kimmel brought up the fact that Canadian Prime Minister Justin Trudeau and Perry were in school at the same time.

Perry responds, โ€œIโ€™ve a story about him that Iโ€™m not proud ofโ€ and he recounts the story explaining he acted out of โ€œpure jealousy.โ€ โ€œI think he said, โ€˜Iโ€™m going to rise above this and become prime minister,โ€™โ€ he explains.

You can watch the segment here:

ย 

ย