Complex sentence: Maithili has been considered a dialect of both Hindi and Bengali, and in fact was classified as a mother tongue of Hindi in the Census of India.
Split into simpler sentences: Maithili has been considered a dialect of both Hindi and Bengali. In fact, as mother tongue, it was grouped under Hindi in the Census of India.