Confucius was an early armed riverboat of the Qing dynasty, and one of the earliest modern vessels of China.
Confucius was purchased in July or August 1855, funded by shipping merchants in Shanghai as a response to an increase in piracy due to the Taiping Rebellion. She was transferred to Shanghai's Pirate Suppression Bureau, where she was used as an armed patrol vessel. During her service as a patrol vessel, she was commanded by an American sailor called Gough, and American sailor Frederick Townsend Ward served as the ship's executive officer. Ward would later distinguish himself in battles and assigned the commander of the Ever Victorious Army.
Thereafter, Confucius became part of the Army. In 1860, she took part in the recapture of Songjiang from Taiping rebels. In 1862, she took part in recapturing Ningbo, where she was commanded by Albert Édouard Le Brethon de Caligny. Later that year, she took part in the Battle of Cixi, where Ward was killed in action. Confucius brought Ward's body back to Shanghai.
After the war, Confucius was transferred to Li Hongzhang's fleet in Jiangsu. There, the ship was renamed Tien Ping, after the model of the steam engine on board. She then returned to patrol duties, and her further fate is unknown.