Answer
Maria I lost her eldest son José and her confessor in 1788, causing her to develop clinical depression. José had been heir to the throne and was very close to his mother. His death was sudden and unexpected, and Maria was devastated. Her confessor had also been a close friend and confidante, and his death further compounded her grief.