Scarabs are beetle-shaped amulets and impression seals which were widely popular throughout ancient Egypt. They still survive in large numbers today. Through their inscriptions and typology, they prove to be an important source of information for archaeologists and historians of the ancient world, and represent a significant body of ancient Egyptian art. Likely due to their connections to the Egyptian god Khepri, amulets in the form of scarab beetles had become enormously popular in Ancient Egypt by the early Middle Kingdom (approx. 2000 BCE) and remained popular for the rest of the pharaonic period and beyond. Throughout Egyptian history, the function of scarabs repeatedly changed. Though primarily worn as amulets and sometimes rings, scarabs were also inscribed for use as personal or administrative seals or were incorporated into other kinds of jewelry. Additionally, some scarabs were created for political or diplomatic purposes to commemorate or advertise royal achievements. Starting in the middle Bronze Age, other ancient peoples of the Mediterranean and the Middle East imported scarabs from Egypt and also produced scarabs in Egyptian or local styles, especially in the Levant. By the end of the First Intermediate Period (about 2055 BCE) scarabs had become extremely common. They largely replaced cylinder seals and circular "button seals" with simple geometric designs. Throughout the period in which they were made, scarabs were often engraved with the names of pharaohs and other royal figures. In the Middle Kingdom, scarabs were also engraved with the names and titles of officials, to be used as official seals. From the New Kingdom, scarabs bearing the names and titles of officials became rarer, while scarabs bearing the names of gods, often combined with short prayers or mottos became more popular, though these scarabs are somewhat difficult to translate. Scarabs were typically carved or molded in the form of a scarab beetle (usually identified as Scarabaeus sacer) with varying degrees of naturalism but usually at least indicating the head, wing case and legs but with a flat base.