A written authority to do an act such as to carry out a search or to make an arrest