Although the young king was active and healthy, his children with Anne were not, and all died in infancy. So, when Charles died in an accident in April 1498, his cousin Louis succeeded him as Louis XII.