Canadian governor general Julie Payette has resigned amid claims she created a toxic work environment for her staff.
The representative of the head of state, Queen Elizabeth II, quit amid reports a highly critical workplace inquiry would be made public.
Prime Minister Justin Trudeau confirmed he had received her resignation.
He had recommended the appointment of the former astronaut in 2017, though her exit has no immediate implications for his Liberal government.
The government had launched a third-party investigation of harassment claims after reports that several staff members felt bullied by Ms Payette.
“Everyone has a right to a healthy and safe work environment, at all times and under all circumstances, Ms Payette, 57, said in a written letter to the public on Thursday, 21 January.
“It appears this was not always the case at the office of the secretary to the governor-general, tensions have risen at Rideau Hall over the past few months and for that, I am sorry.
“From a personal side, this decision comes at an opportune time, as my father’s health has seriously worsened in the last few weeks and my family needs my help, she added.
Assunta Di Lorenzo, Ms Payette’s secretary and a top bureaucrat, is also resigning, CBC News reports.
Ms Payette has held a high profile in Canada for many years. In 1992, she was chosen from over 5,300 applicants to become one of four astronauts in the Canadian space agency. In 1999, she became the first Canadian to board the international space station.
As The Queen’s representative in Canada, the governor-general is the official head of state in her absence.
Although the position is largely ceremonial, the governor-general presides over important state duties.
He or she has the power to give a throne speech and suspend parliament, give royal assent to legislation, swear in the prime minister and is the commander-in-chief of the Canadian Armed Forces.
“Every employee in the government of Canada has the right to work in a safe and healthy environment, and we will always take this very seriously, Mr Trudeau said in a statement.
“Today’s announcement provides an opportunity for new leadership at Rideau Hall to address the workplace concerns raised by employees during the review, Trudeau said not thanking Ms Payette.