[note 1] Dein or Tein was the title which he received when the king appointed him governor of Syriam (modern Thanlyin).
After deliberating with his advisers, the young king decided that he needed the support and expertise of the court, and restored Dein's post at Syriam.
Other vassals had either refused to pledge allegiance, or declared outright independence (in the cases of Viceroys Byattaba and Laukpya).
[12]) When Viceroy Laukpya of Myaungmya invited the northern Ava Kingdom to invade the south to touch off what would become known the Forty Years' War in 1385, Dein was yet not part of the leadership.
[note 3] It was only in the second campaign of 1386–1387 that Dein was given command of a 500-strong force to defend Hlaing; he outlasted Ava attacks on the town for over a month.
[14][15] The duo further cemented their position when they successfully conquered the Irrawaddy delta in 1389–1390, giving Razadarit full control of all three provinces of the kingdom.
[17] The chronicle Razadarit Ayedawbon contains several episodes that portray Byat Za and Dein (and the court) as the adults who guided and tempered the ambitious, brash king.
For their part, Dein and Byat Za dutifully carried out the tasks even when they did not fully agree with the decision.
[note 5] In addition to their ministerial duties, Dein and Byat Za were also responsible for the defense of their fiefdoms.
In 1408, Razadarit transferred Dein from Syriam to Bassein, a strategic delta port, and gateway to the western kingdom of Launggyet (Arakan).
The duo successfully fended off Ava's reinvigorated invasion of the delta by Crown Prince Minye Kyawswa in 1410–1411.
(In 1414, he co-commanded the defenses of the delta with Prince Binnya Dhammaraza though in October he left the front to join the king and did not see action.
After having received intelligence of Ava's planned massive invasion, Dein in October 1414 successfully convinced the king to leave the capital Pegu until things settled down.
[24] Later, in March 1415, when Pegu's first counterattack on Dagon (modern downtown Yangon) failed, Dein persuaded the king not to execute the two commanders of the mission, but instead to give them a second chance to lead another attack again, which was successful.
According to the Mon Yazawin chronicle by Shwe Naw, Chief Minister Dein did not take sides in the subsequent power struggle between Prince Binnya Dhammaraza and Prince Binnya Ran; as the chronicle puts it: the old minister left the "two main gates of the capital open".