WASHINGTON — The man accused of getting inside the White House after scaling a fence is a veteran who was awarded a medal for his service in Iraq and retired due to disability, the Army said Sunday.

Authorities have identified the intruder from Friday night’s shocking incident as Omar J. Gonzalez, 42, of Copperas Cove, Texas, and the Army said he had served from 1997 to 2003, when he was discharged, and then again from 2005 to December 2012, when he retired.

The military does not provide details about a soldier’s disability due to privacy considerations.

The Secret Service tightened security outside the White House after the embarrassing breach in which the intruder carrying a knife climbed the fence, ran across the lawn and entered the building before agents stopped him.

The first family was away from the White House at the time.

Increased surveillance and more officer patrols are among the measures that Secret Service Director Julia Pierson ordered. She also began an investigation into what went wrong.

A member of the House Homeland Security Committee said Sunday that it was astonishing, at a time of concerns about terrorist attacks, that “someone could actually get into the White House without being stopped.”

Rep. Peter King, R-N.Y., said the intrusion was “absolutely inexcusable” and he expected congressional hearings into the incident at one of the world’s most heavily secured buildings.

“This demands a full investigation, an investigation as to what happened, why it happened and what’s being done to make sure it never happens again,” he told “Fox News Sunday.”

Officials first said the fact that the man appeared to be unarmed may have been a factor in why agents at the scene didn’t shoot or have their dogs pursue him before he made it inside.

But a criminal complaint issued late Friday revealed Gonzalez had a small folding knife with a 3 1/2-inch serrated blade with him at the time of his arrest.

At a hearing late Saturday afternoon in D.C. Superior Court, the assistant public defender representing Gonzalez said Gonzalez had no convictions or arrest warrants and had tested negative Saturday for drug use, according to The Washington Post.

“This is someone who has provided service to his country and shown commitment in his life,” said the lawyer, Margarita O’Donnell, as she tried unsuccessfully to get Gonzalez released.

Gonzalez was expected to appear in federal court Monday to face charges of unlawfully entering a restricted building or grounds while carrying a deadly or dangerous weapon.

According to a criminal complaint, Gonzalez told Secret Service agents after his arrest that he was “concerned that the atmosphere was collapsing” and needed to contact the president “so he could get word out to the people.”

The Army said Gonzalez enlisted in July 1997 and was assigned to the 10th Cavalry Regiment, 2nd Brigade, 4th Infantry Division, at Fort Hood, Texas. At the time, he listed his home as Puerto Rico.

He was discharged in September 2003 after completing his service obligation.

Gonzalez enlisted a second time, in July 2005, and served until his retirement in late 2012.

During this period, he was assigned to the 1st Squadron, 14th Cavalry Regiment, at Joint Base Lewis-McChord in Washington state, and the 4th Squadron, 9th Cavalry Regiment, 2nd Brigade Combat Team, 1st Cavalry Division at Ford Hood.

Gonzalez served in Iraq from October 2006 to January 2008, according to the Army.

Obama and his daughters had just left the White House by helicopter Friday evening when the intruder hopped the fence.

The intruder ran toward the presidential residence unimpeded, ignoring orders from officers to stop, until being tackled just inside the doors of the North Portico – the grand, columned entrance overlooking Pennsylvania Ave.

“Every day the Secret Service is challenged to ensure security at the White House complex while still allowing public accessibility to a national historical site,” the agency said in a statement Saturday. “Although last night the officers showed tremendous restraint and discipline in dealing with this subject, the location of Gonzalez’s arrest is not acceptable.”

With questions mounting, President Barack Obama tried to allay concerns about whether the Secret Service is still up to the task of protecting him and his family.

“The president has full confidence in the Secret Service and is grateful to the men and women who day in and day out protect himself, his family and the White House,” White House spokesman Frank Benenati said late Saturday.

The Secret Service said its Office of Professional Responsibility was carrying out the review.

The breach triggered a rare evacuation of much of the White House. Secret Service agents drew their weapons as they hurried White House staffers and journalists out of the West Wing through a side door.

Less than 24 hours after Gonzalez’s arrest, a second man was apprehended after he drove up to a White House gate and refused to leave, Secret Service spokesman Ed Donovan said, prompting bomb technicians in full gear to search the vehicle as agents briefly shut down nearby streets.

There were no indications the two incidents were connected. But they only intensified the scrutiny of the Secret Service, which is struggling to rehabilitate its image following a series of allegations of misconduct by agents in recent years, including agents on Obama’s detail.