was a Japanese female samurai (onna-musha) and politician who exercised significant power in the early years of the Kamakura period, which was reflected by her contemporary sobriquet of the "nun shogun". She was the wife of Minamoto no Yoritomo, and mother of Minamoto no Yoriie and Minamoto no Sanetomo, the first, second and third shoguns of the Kamakura shogunate, respectively. She was the eldest daughter of Hà Âjà  Tokimasa and sister of Hà Âjà  Yoshitoki, both of them shikken of the Kamakura shogunate.
Hà Âjà  Masako (her real name is unknown; she was called Masako after her father's name Tokimasa by later researchers) was born in 1157, eldest child of Hà Âjà  Tokimasa, leader of the influential Hà Âjà  clan of Izu province, and his wife, Hà Âjà  no Maki. Masako's parents were still in their teens, so she was raised by many ladies-in-waiting and nannies. Masako was born into a world of war and strife. In Kyoto, the capital of Japan, the Hà Âgen Rebellion was in full swing. Cloistered Emperor Toba and Emperor Sutoku warred over who would be the next emperor. The Hà Âjà  clan wisely chose to stay out of the rebellion, even though the Hà Âjà  family was descended from the Taira clan and thus was related to the imperial family.
During the Heiji Rebellion in 1159, the Taira clan, under Taira no Kiyomori, defeated the Minamoto clan with the support of Cloistered Emperor Go-Shirakawa. Minamoto no Yoshitomo, leader of the Minamoto clan, was executed, while his sons and daughters were either executed or sent to nunneries. Of his surviving sons, Minamoto no Yoshitsune and Minamoto no Noriyori were forced into the priesthood, while Minamoto no Yoritomo, at the age of thirteen, was exiled to Izu in the domain of Hà Âjà  Tokimasa. While this was happening, Masako was barely an infant. The Taira under Kiyomori were from this point on in effective control of Japan.
Masako was the oldest child of fifteen. She was instructed in horseback riding, hunting, fishing, and she ate with men rather than with the women of the household. Her brother, Hà Âjà  Yoshitoki, born in 1163 would eventually become the second Hà Âjà  shikken (regent) of the Kamakura shogunate and head of the Hà Âjà  clan. Another of her brothers, Hà Âjà  Tokifusa, would become a member of the Rokuhara Tandai.
Masako married Yoritomo around 1177, against her father's wishes. In 1179, they had their first daughter, à Â-Hime. As Yoritomo's wife, she participated in government administration and eventually became a representation of power for the Hà Âjà  clan.
The same year a disillusioned Imperial Prince Mochihito, son of Emperor Go-Shirakawa, called on members of the Minamoto still remaining in Japan to overthrow the Taira. Mochihito thought the Taira had denied him the throne to offer it to Emperor Antoku, who was half Taira. Minamoto no Yoritomo considered himself the head of the Minamoto and responded. He had the full support of the Hà Âjà  and Hà Âjà  Tokimasa, not to mention Masako. The Minamoto center of power was the city of Kamakura, to the east of Izu in Sagami Province. The Genpei War, the final war between Minamoto and Taira had begun.
In 1180, Masako's elder brother Munetoki was killed at Battle of Ishibashiyama and Yoshitoki became heir of Hà Âjà  clan. In 1181, Taira no Kiyomori died, leaving the Taira in the hands of his son Taira no Munemori. In 1182, Masako and Yoritomo had their first son, Minamoto no Yoriie.
In 1183, Yoritomo's rival and cousin Minamoto no Yoshinaka took Kyoto, forcing the Taira (and Emperor Antoku) to Shikoku. Soon after, Emperor Go-Toba was installed by the Minamoto. Minamoto no Yoshitsune and Minamoto no Noriyori, Yoritomo's half brothers who had joined the conflict on his side, drove Yoshinaka out of the capital and executed him, taking Kyoto in the name of Yoritomo (and the Hà Âjà Â).
By 1185, the Taira were defeated at the climactic Battle of Dan-no-ura, which ended the war. Munemori was executed, while the remaining Taira were either executed or drowned as they fled, including the young Emperor Antoku. Yoritomo was now the undisputed leader of Japan and his wife Hà Âjà  Masako and her family had stood by her husband through it all.
Yoritomo's allegiance to his wife's family and her dislike of her brothers-in-law, as well as an internal power struggle brought on by the three brothers, eventually resulted in the arrest and execution of Yoshitsune and Noriyori. Yoritomo bestowed the titles of shugo and jità  on loyal followers to undermine Emperor Go-Shirakawa's authority and the central government's control in the provinces while Kyoto was relegated to a ceremonial role and power shifted to center around Kamakura.
In 1192, after the death of Go-Shirakawa, Yoritomo proclaimed himself shà Âgun and took official control over Japan. He was now the undisputed ruler and most powerful man in country. That same year Masako and Yoritomo had another son, Minamoto no Sanetomo.
In 1199, Minamoto no Yoritomo died. He was succeeded as shà Âgun by his son, Minamoto no Yoriie. Since he was only eighteen, Hà Âjà  Tokimasa proclaimed himself shikken or regent for Yoriie. Masako also had a strong position since her son was shà Âgun. Since her husband was dead, she shaved her head and became a Buddhist nun, receiving a tonsure from the priest Gyà Âyà «. However, she did not take up residence in a monastery or a nunnery, and still involved herself in politics. Along with her father Tokimasa and her brother Yoshitoki, Masako created a council of regents for the eighteen-year-old Yoriie. The headstrong shà Âgun hated his mother's family and preferred his wife's family, the Hiki clan, and his father-in-law, Hiki Yoshikazu.
Hà Âjà  Masako overheard a plot that Yoshikazu and Yoriie were hatching, and turned in her own son to Tokimasa, who did not hurt Yoriie but had Yoshikazu executed in 1203. Now, Shà Âgun Yoriie was very sick and retired to Izu Province. He was murdered in 1204, no doubt by Tokimasa's orders. Masako had not been aware of this. During the murders and purges of the Hiki clan, Minamoto no Ichiman, Yoriie's eldest son and heir and Masako's grandson, was also executed since he was part Hiki himself.
In 1203, Masako's other son by Yoritomo, Minamoto no Sanetomo, became the third shà Âgun with Tokimasa as regent. Sanetomo was closer to his mother than his elder brother was, and still a child when appointed shà Âgun, by contrast his brother, who was forced to abdicate as shà Âgun was now an adult. Nonetheless, Masako and Yoshitoki, the heir to the Hà Âjà Â, were angry with their father, especially after their mother, Hà Âjà  no Maki, died in 1204. Masako's sister's husband, Hatakeyama Shigetada, was wrongfully executed on Tokimasa's orders even after Yoshitoki, Masako, and Tokifusa told Tokimasa he was not guilty of the "treason" charges. Hà Âjà  Tokimasa was by 1205 the most powerful man in Kamakura.
Masako heard rumors that Tokimasa was planning to execute Sanetomo and replace him with one of his allies, so Masako and Yoshitoki immediately ordered Tokimasa to step down and go into priesthood or they would rebel. Hà Âjà  Tokimasa abdicated in 1205, and was sent off to a monastery in Kamakura, where he shaved his head and became a monk, dying in 1215.
Tokimasa was ousted in 1205 when Minamoto no Sanetomo became shà Âgun. The position of the Hà Âjà  clan was still secure. Masako's brother, Hà Âjà  Yoshitoki, succeeded as shikken for Sanetomo, and Masako herself remained in a powerful position as a negotiator with the court. In 1218, Masako was awarded the court rank of Junior Second Rank by the imperial government. She continued to work towards the creation of an advisory council. During this time, she was sent by Regent Yoshitoki on a mission to the Cloistered Emperor Go-Toba, to ask if Minamoto no Sanetomo might adopt one of the emperor's sons as an heir. The emperor refused.
In 1219, Sanetomo was killed by his nephew Kugyà Â, son of his murdered elder brother Yoriie. Sanetomo's death marked the end of the Minamoto line of shà Âguns. Masako and Hà Âjà  Yoshitoki selected Kujà  Yoritsune, known as Fujiwara no Yoritsune, as the next shà Âgun. Because Yoritsune was still an infant, Masako was able to act as de facto shà Âgun until her death. Yoritsune belonged to the Kujà  clan (itself part of the Fujiwara clan) but his grandmother was the niece of first shà Âgun Yoritomo. This meant that whilst he was not strictly a member of the Hà Âjà  clan he was still a figurehead for them.
During the Jà Âkyà « War of 1221, Go-Toba rebelled against the Hà Âjà Â. Kamakura was greatly upset by that news, but Masako is said to have calmed it down with her celebrated speech to Kamakura vassals. Azuma Kagami, the official chronicle of the Kamakura shogunate, tells that Masako summoned the vassals and had these words delivered to them by Adachi Kagemori, the Vice-Governor of Akita Fortress:
Regent Yoshitoki and his eldest son, Hà Âjà  Yasutoki, responded to the rebellion by regaining Kyoto, resulting in the exile of Go-Toba. Masako continued to consolidate rule under the advisory council, manage relationships and connections between imperial and aristocratic families, and administer judgments and postwar rewards. In an era that acknowledged the authority and legitimacy of women in rule, Masako's dominance enabled the Hà Âjà  clan to dominate the Kamakura Shogunate until the downfall of the government in 1333.
Hà Âjà  Masako died in 1225 at the age of 69. Due to her lifestyle of cloistered rule, she was known as the ama-shà Âgun, or the "nun-shà Âgun". Azuma Kagami portrayed her as a peer of Empress Lü in China and Empress Jingà « of Japan.