Complex sentence: He was not a scholar in real terms but was familiar with the main tenets of Islam, and due to his closeness with the clergy came to be known as a Mullah.
Split into simpler sentences: He was not a scholar in real terms but was familiar with the main tenets of Islam. And due to his closeness with the clergy came to be known as a Mullah.