WASHINGTON -- A man with an apparent obsession with President Barack Obama has been arrested in Pennsylvania after the Secret Service discovered two bullets struck the White House while the president was away, authorities said Wednesday.

One bullet smashed into a window of the living quarters of the executive mansion but was stopped by ballistic glass.

The arrest of Oscar Ramiro Ortega-Hernandez, 21, came days after reports of shots fired on Friday night near the White House while Obama and his wife, Michelle, were away.

The Secret Service said it discovered Tuesday that the two bullets hit the White House. Park Police had earlier linked Ortega, 21, from Idaho Falls, Idaho, to the reports of gunfire.

A Park Police crime bulletin issued before Ortega's arrest said he is known to have mental health issues.

There are also indications the man had become obsessed with Obama and the White House, according to two officials, who spoke on the condition of anonymity because the investigation is ongoing.

Authorities said the bullets discovered Tuesday by the Secret Service have not been conclusively connected with the reports of gunfire near the White House on Friday night.

On Friday, authorities found an abandoned vehicle with an assault rifle inside.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

After 47 years, affordable housing ... Let's Go: Williamsburg winter village ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

After 47 years, affordable housing ... Let's Go: Williamsburg winter village ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME