At just more than 30 days, he served the shortest term as president
The King 
died instantly, but the Crown Prince briefly survived only to die from massive ... it 
can be argued that Luis was King for a period of less than 30 minutes in 1908.