Question: when to use notwithstanding in a sentence?
Answer: preposition. in spite of; without being opposed or prevented by: Notwithstanding a brilliant defense, he was found guilty. ... 
conjunction. in spite of the fact that; although: It was the same material, notwithstanding the texture seemed different.
adverb. nevertheless; anyway; yet: We were invited notwithstanding.