(CNN)The author of President Donald Trump's controversial travel ban, which targeted people from six-majority Muslim countries, is the principal speechwriter for the President's speech on Islam in Saudi Arabia on Sunday.

Stephen Miller, Trump's senior adviser for policy and speechwriter, is the principal aide in charge of writing both the speech on Islam and Trump's later speech on the future of the North American Free Trade Organization, a White House official told CNN.
Both are topics Miller has spoken out against throughout his career on Capitol Hill and in the White House.
Donald Trump's risky religious pilgrimage
The official said the speech has been put together through a collaborative process inside the White House, but that Miller was the primary author.
The speech, which will be given in front of about 50 Muslims leaders, could be a flashpoint in Trump's eight-day, five country trip. Trump has long derided Islam, proposed banning all Muslim immigration into the United States during the campaign and is expected to use the term "radical Islamic terrorism" throughout the speech in Saudi Arabia, the cradle of ...