Whoever is convicted in the District of threats to do bodily harm shall be fined not more than the amount set forth in § 22-3571.01 or imprisoned not more than 6 months, or both, and, in addition thereto, or in lieu thereof, may be required to give bond to keep the peace for a period not exceeding 1 year.