Anas Ibn Malik is ineed the (or one of the) last companion of the prphet of Islam, but he is not the founder of the Maliki ‘sect’. You are confusing him with Malik Ibn Anas, the founder of one of the 4 diffent jurisprudence schools of sunni islam. The two are not related either. You can wiki each of them for more info. Hope this helps!