Please check if these have the same meaning. Options are:
(A). no.
(B). yes.
Mir Jafar , Commander of Alivardi , freed Syed Ahmed and his family .
Syed Ahmed , commander of Alivardi , freed Mir Jafar and his family .
(A).