Moreover, Phetracha seemed to gain King Narai's trust as well, as he was one of King Narai's close aides and confidants. When the royal palace at Lopburi was finished, King Narai would stay there for many months in a year, leaving Phetracha as regent to take care of matters in Ayutthaya.