Imran Khan leaves court after being granted bail

It follows a Supreme Court ruling that his arrest on corruption charges was illegal.