Hirohito had suffered from duodenal cancer, which was discovered in 1987, after he underwent surgery for his pancreas. Though, he was recovering , in 1988, the emperor suddenly collapsed. Afterward, he was bedridden and his death was made official on 7 January 1989. His death officially ended the Shōwa era, and the Heisei era officially began at midnight the following day.