In a bid to put an end to the ugly public spat between the top two in the CBI, the government in a mid-night move appointed M Nageshwar Rao as the interim CBI chief.