Senegalese opposition leader Ousmane Sonko and his second-in-command, presidential candidate Bassirou Diomaye Faye, were released from prison in Dakar on Thursday evening, 10 days before the election, according to one of their lawyers and an AFP journalist.