The Indian rulers weakened with the advent of the European powers. Shipbuilders, however, continued to build ships capable of carrying 800 to 1,000 tons. The shipbuilders at the Bombay Dockyard built ships like and , inducted into the Royal Navy. The historical ships made by Indian shipbuilders included (commanded by Edward Codrington during the Battle of Navarino in 1827), the frigate (onboard which the Treaty of Nanking was signed in 1842), and (on which "The Star-Spangled Banner" was composed by Francis Scott Key). David Arnold examines the role of Indian shipbuilders during the British Raj: