The spell
What Animate Dead does
You can cast this spell only at night. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, raising it as a ghoul under your control. The target becomes a ghoul under your control when you cast the spell and remains under your control for 24 hours, after which it stops obeying any command you have given it.
To maintain control of the ghoul for another 24 hours, you must cast this spell on the ghoul before the current 24-hour period ends. This use of the spell reasserts your control over up to four ghouls you have animated with this spell, rather than animating a new one.
At Higher Levels
When you cast this spell using a 4th-level spell slot, you can animate or reassert control over two ghouls. When you use a 5th-level spell slot, you can do so with three ghouls. When you use a 6th-level spell slot or higher, you can do so with four ghouls.
