Margaret Mary did not always plan to leave St.Enda's to the state after her death as per her mother's wishes. Eamonn de Barra along with President at the time Éamon de Valera, influenced her decision to leave the school and its grounds to the state. The government also played an important part in persuading Margaret to leave the school to the nation. It guaranteed that St.Endas will always act as a memorial for Margaret's two brothers Patrick and William Pearse, and this seemed to be the final deciding factor for Margaret. An agreement was settled that while she was alive she would still be the full owner of the school and its grounds, and upon her death, the schools, its contents and the surrounding land would be given to the state.