PORTLAND (AP) — A New Hampshire man charged with breaking into a Maine home and shooting his wife and the homeowner has pleaded not guilty to federal charges.

Gregory Owens, of Londonderry, New Hampshire, remains held without bail after entering his plea to charges of interstate domestic violence and firing a gun in a violent crime in U.S. District Court in Portland.

The 58-year-old Owens is charged with attempted murder charge in state court.

Authorities allege the Army veteran broke into the Saco home on Dec. 18 wearing a mask and armed with a 9 mm pistol, shot his wife, Rachel Owens, a guest in the home, and the homeowner.

Prosecutors say Owens was having an affair, and the woman had threatened to tell his wife.

His attorney did not immediately return a message.