HMS "Africa" was purchased by Horatio Nelson Lay, Inspector General of the Qing Dynasty Chinese Maritime Customs Service, on 13 August 1862, as part of an effort to bolster the Qing Dynasty naval force in response to the ongoing Taiping Rebellion.