ISLAMABAD - Pakistan's Supreme Court has declared the arrest of former Prime Minister Imran Khan earlier this week illegal and ordered law enforcement agencies to present Khan before a high court that is hearing a corruption case against him as violent protests by his supporters swept the country.