Was Akbar Muslim or non-Muslim?

Akbar was a Muslim, and he made India tolerant to all religions.