Mastaba is a structure, built in ancient Egypt, protecting and marking an underground burial chamber. During the pre-dynastic and early-dynastic period, mastabas were built, to serve as tombs for both kings and the upper class. Later, the kings were buried inside pyramids, while high officials, royalty and king’s relatives continued to built mastabas as their tombs. As a structure, mastaba was a freestanding, rectangular building with inclined sides.