The White House on Tuesday was briefly put on lockdown, as fighter jets were scrambled in Washington following an airspace violation, law enforcement officials told NBC News.

The lockdown was lifted less than 30 minutes after it was first reported by White House reporters.

"The White House was locked down this morning due to a potential violation of the restricted airspace in the National Capital Region," a Secret Service spokesman told CNBC in a statement. "The lockdown has been lifted at this time."

A small aircraft violated airspace rules in a restricted area, officials told the Associated Press. The North American Aerospace Defense Command said the plane was not considered hostile.

NBC also reported that a security alert was raised at the Capitol building.

Grimes TWEET

U.S. Capitol Police confirmedthat access to the Capitol Complex buildings was halted "for a short time." The situation was cleared at 9:12 a.m., Capitol Police said, about 45 minutes after the aircraft was first reported in the restricted airspace.

The White House referred CNBC to the Secret Service.