The Banu Khazrun dynasty was a family of the Maghrawa that ruled Tripoli from 1001 to 1146. Padis attack on Tripoli padis was once a ruler of Mahdia he was put by the Fatimid dynasty. in the year 1038 he attacked Tripoli with his fleet and was defeated by the ruler of Tripoli montasir ibn khazrun but he returned second time and was defeated again. but in 1039 ce padis led a large campaign against banu Khazrun and won the defeated banu khazrun and signed peace treaty External links “History of the Maghrib in the Islamic Period” By Jamil M. Abun-Nasr https://books.google.ca/books?id=BvTjCQAAQBAJ&pg=PA42&redir_esc=y#v=onepage&q&f=false History of Tripoli, Libya Berber dynasties 11th century in Africa 12th century in Africa