An Atlantic City man admitted Tuesday he was trying to sell heroin in Atlantic City last year, less than two months after he was released from prison.

Patrick Walker, 33, faces a seven-year sentence under the terms of the plea agreement, which would require him to serve at least three years.

Walker was arrested in the Gilchrist’s parking lot May 16, after he made numerous sales to undercover officers during an investigation by the Atlantic City Task Force, Deputy Attorney General Jim Ruberton said.

Police searched his home on Barkentine Court, near Gardner’s Basin, and found 20 bricks of heroin — worth about $10,000 — along with packaging material that included a digital scale, along with 190 baggies and 500 wax paper folds all stamped with MGM in blue ink, Ruberton said.

A brick contains 50 bags of heroin, which sells for about $10 a bag on the street. Police also seized $816 believed to be the profits from drug sales.

Walker pleaded guilty Tuesday to a second-degree charge of possession with intent to distribute. He is scheduled to be sentenced March 28.

Ruberton told Superior Court Judge Max Baker that Walker had two previous convictions, including one for robbery, resisting arrest and drug distribution in 1997.

Walker was arrested again in 2006, and sentenced to prison March 12, 2009, state Department of Corrections records show. He was paroled on March 27 of last year.

The Atlantic City Task Force includes members of the Attorney General’s Office, Division of Criminal Justice, the Atlantic County Prosecutor’s Office, Atlantic County Sheriff’s Office and the Atlantic City Police Department.

“This is exactly the type of crime that we’re not going to tolerate in the city,” Ruberton said. “It’s our continued joint effort to stop this specific type of crime in Atlantic City.”

Anyone with information about drug or gun activity in the city is urged to call the Task Force at 609-441-3816 or the police at 609-347-5766. Information may also be called in anonymously to Crime Stoppers at 609-652-1234 or texted to tip411 (847411) beginning the text with ACPD.

Contact Lynda Cohen:

609-272-7257

Follow Lynda Cohen on Twitter @LyndaCohen