No, Nepal was not part of India before India’s independence in 1947. Nepal has always been an independent and sovereign nation. Historically, Nepal has maintained its independence despite being surrounded by larger powers like British India and China. The Treaty of Sugauli in 1816 between Nepal and the British East India Company formalized Nepal’s boundaries and recognized its sovereignty. This treaty marked the end of the Anglo-Nepalese War and ensured that Nepal remained a separate entity from British India. Therefore, Nepal was never under British colonial rule and has always been an independent country.