Uttar Pradesh Chief Minister Akhilesh Yadav has transferred two top officials out of Mathura, where 24 people including two police officers died last week in clashes between the police and members of a cult who had illegally occupied a 260-acre park for two years.