The chief of police shall act as city marshal. It shall be the duty of the marshal to levy all executions in favor of the city and to advertise and sell the property levied upon in accordance with state law. The marshal shall have the same power to place purchasers in possession as sheriffs in this state have.