He fought against Islam most of his life. However, he eventually accepted Islam and from his progeny came the first Muslim dynasty