McCarthy pledges to protect police