New Delhi: Andhra Pradesh high court on Thursday termed the life ban imposed by the BCCI on former Indian cricket captain Mohammad Azharuddin as illegal.