Star Trek actor and activist George Takei warned against discriminatory impulses in the wake of last night’s terror attacks in Paris, which took at least 127 lives.

Takei expressed his condolences to those who lost loved ones in Paris last night but also warned not to make assumptions about any one group of people, pointing out that the Paris attackers were themselves acting out of such a misguided hatred. The actor, who himself was placed in an interment camp along with his family during World War II, likened racism against Muslims to Americans’ discrimination against peaceful Japanese Americans after Pearl Harbor.

“There no doubt will be those who look upon immigrants and refugees as the enemy as a result of these attacks, because they look like those who perpetrated these attacks, just as peaceful Japanese Americans were viewed as the enemy after Pearl Harbor,” he wrote. “But we must resist the urge to categorize and dehumanize, for it is that very impulse that fueled the insanity and violence perpetrated this evening.”

“Against the forces of darkness and terror, love and compassion shall always prevail,” he concluded.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Eliana Dockterman at eliana.dockterman@time.com.