In a typical mitotic cell division cycle in eukaryotes, $M$ phase occurs immediately after the

1. $G_0$ phase
2. $S$ phase
3. $G_1$ phase
4. $G_2$ phase