CROWN POINT — A man accused of shooting at his grandmother during an argument and later stalking his ex-girlfriend by leaving a puppy's remains outside her family's home pleaded guilty Friday to two felonies.

Roberto Miranda Jr. pleaded guilty in Lake Criminal Court to pointing a firearm, a Level 6 felony, and stalking, a Level 5 felony, to resolve charges in the two cases filed last year.

Miranda, 23, was arrested June 30, 2017 on allegations he twice fired a gun at his grandmother during an argument about hair clippers at a residence in the 4800 block of Chestnut Avenue in Hammond.

Miranda was charged with attempted murder, criminal recklessness, intimidation and pointing a firearm.

Judge Diane Boswell ordered Miranda released on electronic monitoring Sept. 8, 2017, on the condition he receive treatment from Regional Mental Health.

He was arrested again Dec. 6 after he was found sitting in a vehicle near the home of his ex-girlfriend's family in Hammond. The ex-girlfriend's mother told authorities Miranda threatened to chop her into little pieces in a phone call. He also allegedly left the remains of a puppy on her vehicle and front porch. 

Defense attorney Patrick Young clarified at a court hearing last month it was a stillborn puppy.

That arrest earned Miranda stalking and intimidation charges.

Under the terms of Friday's plea agreement, Miranda would serve six months in Lake County Jail for the firearm offense. There is no agreement to Miranda's sentence on the stalking offense, which carries a penalty of one to six years in prison.

Miranda is scheduled to be sentenced Oct. 16.