Original: King Mahmud Shah Durrani died in 1829.
Simplified: He died in 1829.