The Indian Navy (IN; Hindi: भारतीय नौ सेना (Devanāgarī), Bhāratīya Nau Senā (Latin)) is the naval branch of the armed forces of India. The President of India serves as the Commander-in-Chief of the Navy. The Chief of Naval Staff (CNS), usually a four-star officer in the rank of Admiral, commands the navy. The Indian Navy can trace its lineage back to the Honourable East India Company's Marine which was founded in 1612 to protect British merchant shipping in the region. In 1757 the East India Company established its rule over much of the Indian subcontinent, but it wasn't until 1830 that the colonial navy became known as Her Majesty's Indian Navy. In 1858, East India Company rule gave way to the British Raj which lasted until India became independent in 1947. However it was only when India became a republic in 1950, that the Royal Indian Navy -as it had been named since 1934- was renamed to its modern title, the Indian Navy.The 17th-century Maratha emperor Chhatrapati Shivaji Maharaj is considered as the 'Father of the Indian Navy. The primary objective of the navy is to secure the nation's maritime borders, India also uses its navy to enhance its international relations.