A law enforcement officer shall, without unnecessary delay, take the arrested person before the nearest available committing magistrate. Any person, other than a law enforcement officer, making an arrest shall, without unnecessary delay, take the arrested person before the nearest available committing magistrate or deliver him to the nearest available law enforcement officer. If a person arrested without a warrant is brought before a committing magistrate, a complaint shall be filed forthwith. Unless given a court appearance date and released from custody, a person, arrested with or without a warrant or given a summons, shall appear initially before a committing magistrate in person or via ITV, without unnecessary delay, at which time the committing magistrate shall proceed in accordance with the applicable provisions of §§ 23A-4-2 to 23A-4-5, inclusive.
SDCL 23A-4-1