Police took SP chief Akhilesh Yadav into custody on Monday after party leaders led by him broke through security cordon to sit on a dharna in the heart of the city to oppose the three farm bills against which farmers have given a call for 'Bharat Bandh' on Tuesday.