She remained in office till a few months before her death , but had little real power .
She stayed in office until a few months before her death , but had little real power .