Background: Augusto Jose Ramon Pinochet Ugarte (; Spanish: [au'gusto pino'(t)Se, -'(t)Set]; 25 November 1915 - 10 December 2006) was a Chilean general, politician and the dictator of Chile between 1973 and 1990 who remained the Commander-in-Chief of the Chilean Army until 1998 and was also President of the Government Junta of Chile between 1973 and 1981. Pinochet assumed power in Chile following a United States-backed coup d'etat on 11 September 1973 that overthrew the democratically elected socialist Unidad Popular government of President Salvador Allende and ended civilian rule.
Context: Pinochet suffered a heart attack on the morning of 3 December 2006, and subsequently the same day he was given the last rites. On 4 December 2006, the Chilean Court of Appeals ordered the suspension of his house arrest. On 10 December 2006 at 13:30 local time (16:30 UTC) he was taken to the intensive care unit. He died of congestive heart failure and pulmonary edema, surrounded by family members, at the Military Hospital at 14:15 local time (17:15 UTC). Massive spontaneous street demonstrations broke out throughout the country upon the news of his death. In Santiago, opponents celebrated his death in Alameda Avenue, while supporters grieved outside the Military Hospital. Pinochet's remains lay in repose on 11 December 2006 at the Military Academy in Las Condes. During this ceremony, Francisco Cuadrado Prats--the grandson of Carlos Prats (a former Commander-in-Chief of the Army in the Allende government who was murdered by Pinochet's secret police)--spat on the coffin, and was quickly surrounded by supporters of Pinochet, who kicked and insulted him. Pinochet's funeral took place the following day at the same venue before a gathering of 60,000 supporters. In a government decision, he was not granted a state funeral (an honor normally bestowed upon past presidents of Chile) but a military funeral as former commander-in-chief of the Army appointed by Allende. The government also refused to declare an official national day of mourning, but it did authorize flags at military barracks to be flown at half staff, and for the Chilean flag to be draped on Pinochet's coffin. Socialist President Michelle Bachelet, whose father Alberto was temporarily imprisoned and tortured after the 1973 coup and died shortly afterwards from heart complications, said that it would be "a violation of [her] conscience" to attend a state funeral for Pinochet. The only government authority present at the public funeral was the Defense Minister, Vivianne Blanlot. In Spain, supporters of late dictator Francisco Franco paid homage to Pinochet. Antonio Tejero, who led the failed coup of 1981, attended a memorial service in Madrid. Pinochet's body was cremated in Parque del Mar Cemetery, Concon on 12 December 2006, on his request to "avoid vandalism of his tomb," according to his son Marco Antonio. His ashes were delivered to his family later that day, and are deposited in Los Boldos, Santo Domingo, Valparaiso, Chile; one of his personal residences. The armed forces refused to allow his ashes to be deposited on military property. CANNOTANSWER
Question: What happened before the heart attack?. Whats the answer?

CANNOTANSWER