
408 A.2d 965 (1979)
William E. HAGANS, Appellant,
v.
UNITED STATES, Appellee.
No. 13994.
District of Columbia Court of Appeals.
Submitted October 16, 1979.
Decided October 24, 1979.[*]
James T. Devine, Washington, D. C., appointed by the court, was on brief, for appellant.
Carl S. Rauh, U. S. Atty. and John A. Terry, Bette E. Uhrmacher, and Paul L. Knight, Asst. U. S. Attys., Washington, D. C., were on brief, for appellee.
Before NEBEKER, HARRIS and FERREN, Associate Judges.
HARRIS, Associate Judge:
In a jury trial, appellant was convicted of robbery. D.C.Code 1973, § 22-2901.[1] On appeal, he seeks a new trial on the ground that the trial court improperly denied his pretrial motion to suppress certain inculpatory statements which appellant had given to a police detective shortly after his arrest. We affirm.

I
Appellant was arrested in Prince George's County, Maryland, pursuant to a warrant issued by the Superior Court of the District of Columbia. He was taken to the Forestville station of the Prince George's County Police Department in the company of Detective Charles Shuler of the Metropolitan Police Department and two Prince George's County policemen. There appellant was advised that he had been charged with felony murder in the District of Columbia. *966 He was read his Miranda rights,[2] and was informed several times that he was entitled to an "extradition hearing" in Maryland to determine whether he could be returned to the District of Columbia to face the charges. When appellant made it clear that he wished to forego any such proceeding and was willing to return to the District of Columbia, Detective Shuler prepared a typewritten document which stated:
WAIVER
I, William E. Hagans, understand I have a right to remain in the state of Maryland and have an extradition hearing before being returned to the District of Columbia to face charges there being filed against me.
I have been advised as to exactly what an extradition hearing means, and how it applies to me in this particular situation.
I have been shown a copy of the warrant affidavit, and have been advised of the charge of felony murder. I made no statement concerning the case at this time, and have been advised of my constitutional rights. I have been told that I could have a lawyer present and request none at this time.
I willingly return to the District of Columbia with Detective Charles L. Shuler, of the Homicide branch of the Metropolitan Police Department. I voluntarily waive my right to have an extradition hearing.
Appellant signed the waiver after it had been both shown to him and read to him aloud; Detective Shuler and two other attending policemen also signed the waiver.
Appellant then accompanied Detective Shuler back to the District of Columbia. On arriving at the police station, appellant again was advised of his Miranda rights, whereupon he agreed to execute a Form PD-47 (waiver of Miranda rights). He then proceeded to give Detective Shuler a detailed statement indicating his involvement in the robbery-homicide in question. At trial, that statement was read into evidence (in "sanitized" form) by Detective Shuler.

II
Appellant argues that his waiver of his right to an extradition hearing in Maryland was defective because (1) under the Maryland extradition statute a waiver can be accomplished only in the presence of a magistrate, and (2) in any event, his waiver was not given "knowingly and voluntarily."
Appellant's reliance on the Maryland extradition statute is misplaced. As the government correctly points out, any person arrested on a Superior Court warrant outside the District of Columbia is treated, for purposes of removal to the District, as if the warrant had been issued by the United States District Court for the District of Columbia.[3] Therefore, appellant's removal to the District was governed by Fed.R.Crim.P. 40(a), rather than by Maryland law. Under Rule 40(a), appellant was entitled to be taken before "the nearest available federal magistrate" for a preliminary hearing (to be conducted in accordance with Fed.R.Crim.P. 5 and 5.1) in order to determine whether there was probable cause to hold him to answer the charges in the Superior Court. In this respect, the federal removal procedure is similar to the *967 state extradition scheme; in each case, a hearing before a magistrate is provided to determine whether there is probable cause to warrant turning the arrestee over to authorities in another jurisdiction. Unlike the Maryland statute, however, the federal rules do not require that a waiver of an arrestee's right to such a hearing be executed in the presence of a magistrate. See Fed.R.Crim.P. 5(a) and (c). Thus, appellant's waiver does not fail simply because it was accomplished at a police station rather than before a magistrate.
The only remaining question is whether appellant's waiver was given knowingly and voluntarily under the totality of circumstances. See United States v. Holmes, D.C.App., 380 A.2d 598, 602 (1977), citing Schneckloth v. Bustamonte, 412 U.S. 218, 93 S.Ct. 2041, 36 L.Ed.2d 854 (1973). At the time of the arrest, Detective Shuler apparently mistakenly believed (as does appellant now) that appellant was entitled to an extradition hearing. Nevertheless, Detective Shuler explained to appellant essentially the procedure to which he was entitled: He had the right to appear before a magistrate (with a lawyer, if he so desired) and be heard on whether there was probable cause to bind him over to the Superior Court. The only error in the description provided by Detective Shuler was his indication that a hearing would be held before a Maryland magistrate, rather than a federal one. Under the circumstances of this case, such a flaw hardly may be considered serious.[4]
It is clear that appellant decided to return to the District of Columbia promptly with Detective Shuler. He repeatedly was advised of his right to a hearing, and repeatedly he stated his willingness to come to the District without one. The waiver he signed was both shown to him and read to him aloud by Detective Shuler. On cross-examination at the suppression hearing, appellant admitted that Detective Shuler had explained to him the meaning of those words in the written waiver that appellant initially did not understand. In sum, appellant made it abundantly clear that he understood the procedural safeguards to which he was entitled, and that he willfully chose to waive those rights.
Affirmed.
NOTES
[*]  The original disposition of this case was by an unpublished Memorandum Opinion and Judgment. The government's motion for publication was granted.
[1]  Appellant was acquitted of a charge of first-degree murder.
[2]  Miranda v. Arizona, 384 U.S. 436, 86 S.Ct. 1602, 16 L.Ed.2d 694 (1966).
[3]  D.C.Code 1973, § 23-563(c), provides:

A person arrested outside the District of Columbia on a warrant issued by the Superior Court of the District of Columbia shall be taken before a judge, commissioner, or magistrate, and held to answer in the Superior Court pursuant to the Federal Rules of Criminal Procedure as if the warrant had been issued by the United States District Court for the District of Columbia.
Virtually identical language is contained in Super.Ct.Cr.R. 5-I, the Official Comment to which states:
Rule 5-I deals with persons arrested on a Superior Court warrant outside the District of Columbia. It contemplates the commitment or removal of such persons to the District of Columbia under the Federal Rules of Criminal Procedure, rather than through State extradition proceedings.
[4]  See Jacobson v. United States, 356 F.2d 685, 689 (8th Cir. 1966) (irregularities in removal proceedings occasioned by an arrestee's acquiescence, if not his request, are not such as to justify suppressing statements made by him during allegedly illegal detention).
