Because William I abdicated between 24 April and 6 December, the holiday was celebrated twice in 1840.
Due to William I's abdication between April 24th and December 6th, the holiday was observed on two separate occasions in 1840.