Shajar al-Durr took control with Mamluk support and launched a counterattack against the French. Shajar married the Mamluk commander, Aybak.