In his absence , his sister and heir , Princess Liliuokalani , ruled as regent ( Prince Leleiohoku , the former heir , had died in 1877 ) .
In his absence , his sister and heir , Princess Liliʻuokalani , ruled as regent . ( Prince Leleiohoku , the former heir , had died in 1877 . )