A Joliet police officer apparently committed suicide Tuesday in a Cook County Forest Preserve.

Daniel Rupp, 33, was pronounced dead about 3 p.m. Tuesday in the Sag Valley Equestrian parking lot in Lemont, according to the forest preserve police and medical examiner’s office.

Rupp’s body was found outside his personal vehicle, and a handgun was located nearby, said Sophia Ansari, a spokeswoman for the Cook County Sheriff’s Office.

“There is no evidence of foul play,” Ansari said.

Joliet Police Chief Al Roechner said his “thoughts and prayers go out to [Rupp’s] wife and family.”

“It is with deep sorrow that I announce the untimely death of Officer Daniel Rupp,” said Roechner, who added Rupp served with the Joliet police for 11½ years.

“This is the worst kind of thing you want to go through as a chief, an officer passing,” Roechner said.