The Great Wall at the Pu'uhonua O Honaunau National Park, built in 1550 with no mortar, separated the royal compound from the Pu'uhonua.  The penalty for going inside the royal grounds or casting your shadow within - DEATH.