(CNN) -- A Pakistani court has ordered a jailed American diplomat to remain in custody for 14 more days, authorities said Friday. The man's lawyer then filed a petition calling for his immediate release, saying he is covered under diplomatic immunity.
Raymond Davis, who allegedly shot and killed two men, was transferred from police custody to "judicial remand," said Munir Ahmed Khan, a member of the police investigative team.
Pakistani law says police can only keep a suspect in custody for 14 days. After that, a judge can either release the suspect -- on bail or for lack of evidence -- or transfer him to judicial custody, which is usually a prison instead of a police station lock-up.
Davis said he was attacked by the two men on January 27 who tried to rob him as he drove through a busy Lahore neighborhood, according to the U.S. Embassy in Pakistan.
The U.S. State Department has demanded that Davis be freed.
Under international agreements, people carrying diplomatic passports are granted diplomatic immunity, the department said. CNN