US Attorney Preet Bharara announced on Twitter that he had been fired after he defied a Justice Department request to resign as the Trump administration cleared out federal prosecutors who served under former President Barack Obama.