The compass was also invented in China, and records exist of how a great fleet was sent under the command of Admiral Zheng He in the early 15th century to show the Chinese imperial flag in the ports of the Indian Ocean and the Persian Gulf, a fleet said to be the largest seen in the world up to that time.