DONNA M. RYU, Magistrate Judge.
TO THE UNITED STATES MARSHAL:
Whereas: the United States of America and the District Attorney for Alameda County are concurrently pursuing separate cases against the defendant, Joshua Anthony Flores; the Alameda County Sheriff has retained primary jurisdiction over the defendant; the defendant was earlier ordered brought to this Court from Santa Rita Jail, pursuant to this Court's Writ Ad Prosequendum directed to the Santa Rita Jail for purposes of appearing in this federal case; and the defendant's presence will again be required for the local court proceedings,
IT IS HEREBY ORDERED:
The defendant shall remain in the custody of the Alameda County Sheriff;
The U.S. Marshal shall place a detainer based on this pending federal matter so that defendant shall be delivered to the U.S. Marshal if the Alameda County Sheriff relinquishes custody or primary urisdiction; and
If the defendant is committed and transferred to a penal institution pursuant to a conviction in the local jurisdiction, the detainer shall follow the defendant and, once notified, the U.S. Marshal shall notify this Court and the United States Attomey's Office.
If the defendant is ordered released from federal custody, the detainer shall be lifted.