Hamaz was an officer in the Galactic Empire during the Galactic Civil War, and he also engaged in gunrunning activities for the Alliance to Restore the Republic.
Eventually, Xufal D'uat, who worked as a bounty hunter, captured him. Hamaz attempted to secure his freedom through negotiation, at which point the bounty hunter was taken aback by the fact that he had apprehended an Imperial. As a condition of their agreement, D'uat demanded that Hamaz provide a recorded admission of his wrongdoings. This served as a safeguard should the Imperial betray the bounty hunter. Hamaz gave his confession, and subsequently, he was freed.
Subsequently, Hamaz contracted another bounty hunter who successfully assassinated D'uat. However, he failed to retrieve the recorded confession.
Sometime after this, Hamaz achieved the rank of Admiral and oversaw fleet activities in the vicinity of Kuat.