Shà  En (1415 â 28 July 1476), born Kanemaru , was king of the Ryukyu Kingdom from 1470 to 1476. The official histories of the kingdom place his birth on Izena Island, although nothing is known concretely about his origins or family. Later folk tradition in the kingdom traced him to the mythical Shunten dynasty. He is said to have settled in northern Okinawa around the 1440s after a water dispute on his home island, eventually settling in Shuri and serving as a retainer for Shà  Taikyà «, the Prince of Goeku. Taikyà « became king in 1454 and appointed Kanemaru as his treasurer, granting him lordship over Uchima. Shà  Toku succeeded his father after his death in 1460. The official histories depict Toku as a cruel ruler who forced Kanemaru into seclusion. Kanemaru was chosen to succeed him after Toku's death in 1470, killing Toku's surviving family and taking the regnal name Shà  En.
Shà  En's reign saw diplomatic and trade difficulties with Japan and China. The Ming dynasty restricted the size and frequency of Ryukyuan tribute missions after emissaries were alleged to have attacked and looted a Chinese household. The outbreak of the à Ânin War in Japan led to widespread piracy, making it unsafe for Ryukyuan ships to travel to the port of Sakai, although the kingdom continued to expand its trade network in Kyushu and the surrounding islands. Shà  En died in 1476, initially succeeded by his younger brother Shà  Sen'i. Sen'i's reign only lasted six months before his resignation, possibly due to a coup d'état launched by Queen Ogiyaka, and En's son Shà  Shin became king. Shà  En's descendants, the Second Shà  dynasty, would rule the Ryukyu kingdom for over four centuries.
The official histories of the Ryukyu Kingdom state that Shà  En was born under the name of Umitokugane to a family of peasants in 1415, later taking the name Kanemaru . He is purported to have been born near the village of Shomi on Izena, a small island to the north of Okinawa. His father is named Shà  Shoku in the official histories, but nothing is concretely known about him. Historian Gregory Smits theorizes that Kanemaru may have originated in Japan due to religious ties to a group of possibly Japanese goddesses on Kumejima. Some historical and religious sites on Izena claim ties to his early life. Mihoso-dokoro, his purported birthplace, is designated as a prefectural historical site, with his umbilical cord said to be buried there under a large stone. To the north is the purported site of his rice paddy, Sakata.
The 17th century scholar Shà  Shà Âken, the author of the (one of the official histories of the Ryukyu Kingdom), theorizes that Kanemaru's family was ultimately descended from a previous ruling dynasty of Okinawa, writing that his "parents were originally island peasants. Today we cannot know what happened before, but one wonders whether they were the descendants of early kings." Popular tradition in the kingdom traced the dynasty to Gihon, the last king of the mythical Shunten dynasty, and thus to the legendary first ruler of Chà «zan, Shunten, who was said to rule in the 12th and 13th centuries. The described Shunten as the descendant of the exiled samurai Minamoto no Tametomo, and thus a distant descendant of the Imperial House of Japan. Such genealogies are mythical accounts, likely propagated as a political move to elevate the importance of the Shà  dynasty.
Kanemaru was married to a local girl when he was young. Both of his parents died around 1435, forcing him to take care of the rest of his family, including his sister and younger brother, and he began farming extensively his small plot of land. The official histories relate that other farmers accused Kanemaru of stealing water, and he left his family, taking with him his five-year-old brother Sen'i, and fled to the fishing village of Ginama on the northern tip of Okinawa. One legend relates that Kanemaru first sought refuge at the home of a blacksmith in the village of Okuma in Kunigami.
For unknown reasons, Kanemaru was forced to flee again five or six years later, and settled in Shuri, the capital of Chà «zan. Shà  Taikyà «, the Prince of Goeku, purportedly hired him as a retainer. Shà  Taikyà « became the king of Chà «zan in 1454, and hired Kanemaru as the manager of his royal household, and later as his treasurer and the manager of the Naha harbor. He was appointed the Lord of Uchima in 1454. After Shà  Taikyà «'s death in 1460 and the succession of his son Shà  Toku, Kanemaru is said to have gone into seclusion at his castle in Uchima. By the early 1460s, he took a second wife, Ogiyaka, who bore his eldest son. This son later reigned under the name Shà  Shin.
The describes Shà  Toku as a cruel and greedy ruler who killed innocent people and forced officials into hiding. After his death from unrecorded causes in 1470, a group of officials gathered to debate the succession. One legend describes the succession instead taking place after Shà  Toku became romantically attached to a priestess on Kudakajima and left the throne vacant; after hearing of the coup, Shà  Toku was said to have drowned himself. Smits writes that this story is likely anachronistic, but that Shà  Toku may not have died of natural causes, describing Shà  En as the leader of a coup against Toku.
According to the official histories, an old man declared to the gathered ministers that Shà  Toku had been depraved and evil, calling on them to "kill the crown prince, elevate the virtuous, and bring peace to the country". A group of ministers then traveled to Ushima and asked Kanemaru to become king. He was said to have been greatly surprised and declined the offer before finally accepting. After Kanemaru took the throne, he ordered a group of soldiers to capture and kill the prior crown prince, a seven or eight year old boy, alongside his mother and wet nurse.
Kanemaru took the regnal name Shà  En, continuing to use the surname of the previous dynasty, Shà  . The old dynasty adopted this name in 1430 under Shà  Hashi, purportedly granted to the dynasty by the Ming emperor. Due to the shared surname, the two dynasties are historically distinguished as the First Shà  and Second Shà  dynasties.
Shà  En ruled from Shuri Castle accompanied by several hundred retainers. He did not prioritize ideological or symbolic matters, leading Smits to write that he "ruled in the manner of a powerful (pirate) leader". He is credited with rebuilding the temple of Gokuraku-ji after it burnt down, relocating it to near Urasoe and renaming it to Ryà «fuku-ji. Alongside Shà  Taikyu and Shà  Toku, Shà  En was one of only three Ryukyuan rulers to mint coins before the introduction of coins in 1715. These cash coins are known as or . Little is known about them other than that they are made from higher quality metal than those made previously.
In the 1471 and 1472 entries of the Ming Veritable Records, Shà  En is named as Sho Toku's prince, despite being older than him. Ryukyuan diplomats frequently falsified non-violent succession when meeting with Ming authorities after a coup d'état. In 1474, a group of Ryukyuan emissaries were alleged to have attacked the home of a man named Chen Erguan, killing him and his wife before looting the house and burning it down. The Chenghua Emperor ordered Shà  En to punish the embassy, and imposed restrictions on the size and frequency of Ryukyuan tribute missions. The Ryukyuan government responded in 1476, praising China and claiming that Ryukyuan diplomats would not have committed such an act. This appeal was unsuccessful, and the Ming court continued to restrict Ryukyuan trade missions. Likely fraudulent embassies claiming to be representatives of Shà  En arrived in Joseon after his death in 1483 and 1491.
Trade with Japan broke down in the late 1460s and 1470s with the outbreak of the à Ânin War and the Sengoku period. Pirates became widespread across the Seto Inland Sea, making the voyage to the trade port of Sakai in Kinai too risky for Ryukyuan ships. Japanese merchants in Sakai relied on products such as dye, incense, and medicine obtained from Okinawa, and some began to make illicit trips to the island. The ruling Ashikaga shogunate tasked the Shimazu clan to apprehend merchants attempting to trade with Ryukyu without trade licenses. However, Ryukyu's trade network in the region continued to expand, with Okinawan merchants establishing ties with the trade port of Hakata on Kyushu and various regional clans, such as the Tanegashima clan, the Sà  clan of Tsushima, and the à Âuchi clan of Bungo.
According to the 18th century , Shà  En died on 28 July 1476. Under Shà  Shin's rule, he was interred at the new royal mausoleum of Tamaudun.
Shà  En appointed his brother Shà  Sen'i as the lord of Goeku, which likely indicated that he intended Sen'i to serve as his heir. The instead states that Shà  En's son Shà  Shin was his designated successor, but that the kingdom's officials had chosen Sen'i in his place after his death due to Shin's young age. Sen'i ascended to the throne in 1477, but is said to have failed to adhere to proper rituals during coronation, and was compelled to resign six months later, dying soon after. Historians such as Smits and have attributed the myth to a coup launched against Sen'i in the name of Shà  Shin by his mother Ogiyaka. In the , Shà  En is given the divine name Kanamaru-aji-sohesuwetsugiwaunise .Under Shà  Shin, the Ryukyu Kingdom began an expansionist administrative state. His descendants, the Second Shà  dynasty, would rule the Ryukyu kingdom until the deposition of Shà  Tai in 1879.
In 1495, Shà  Shin erected the Rinzai Zen temple of Enkaku-ji (literally "En's Enlightenment") at Shuri in honor of Shà  En. Shà  En was the earliest king to be made the subject of a posthumous painting () showing him surrounded by attendants while wearing Ming-styled robes. Like the other , this portrait was destroyed in 1945 during the Battle of Okinawa and survives only through photographs. Shà  Shin is also credited with constructing Izena Tamaudun as a royal mausoleum for Shà  En's parents. In 1995, King Shà  En's Garden Park () and a large statue of the king were built near the mausoleum and the adjacent Izena Castle to celebrate the 580 anniversary of his birth. Fifteen years later, an equestrian statue of Shà  En was built at Tsuisui Park on the island.