Any person who purposely destroys or injures any sidewalk, public or private bridge, culvert, or causeway, removes any of the timber or plank thereof, or obstructs the same shall be guilty of a Class V misdemeanor and shall be liable for all damages occasioned thereby and all necessary costs of rebuilding or repairing the same.