I don't understand why these are both correct, but one's in the passe compose and the other is in the imparfait.
En 2004, j'avais de l'argent.
In 2004, I had money.
En 1815, Napoléon a perdu la bataille de Waterloo.
In 1815, Napoleon lost the battle of Waterloo.
Is it because Napoleon only lost the battle one time, but we can assume I had money for the whole of 2004.