CAMBRIDGE, Mass. (AP) — A search for a Philadelphia homicide suspect that prompted a warning from Massachusetts State Police to expect restricted access to the area close to Harvard University and the Ivy league school to issue a shelter-in-place advisory has ended with the suspect in custody.

Cambridge police in a tweet said 31-year-old Sohan Panjrolia, who previously attended Harvard, was taken into custody just before 1 p.m. Tuesday.

State police tweeted that the public “should expect to see heavy police presence and restricted access to Harvard Square area.”

The university sent out an alert telling the people to avoid the area of JFK and Eliot streets, which is near the John F. Kennedy School of Government.