The 365 Crete earthquake occurred at about sunrise on 21 July 365 in the Eastern Mediterranean, with an assumed epicentre near Crete. Geologists today estimate the undersea earthquake to have been a magnitude 8.0 or higher. The Crete earthquake was followed by a tsunami which devastated the southern and eastern coasts of the Mediterranean, particularly Libya, Alexandria and the Nile Delta, killing thousands and hurling ships 3 km (1.9 mi) inland.
Xiao's adviser Shang Yang implemented a legal code in Qin based on the Canon of Laws which established punishment for complicity in a crime, established a system of military ranks, and implemented policies encouraging the cultivation of unsettled land.