LOUISVILLE, Ky. (WDRB) -- A man and woman are in trouble with the law after police say they were caught in the act of having sex in the back seat of a parked vehicle -- with a child in the front seat.

According to the arrest report, 33-year-old Richard Roberts and 27-year-old Brittany Douglas were observed having sex in the back seat of a truck around 1:30 p.m. Tuesday near Preston Street and Ormsby Avenue.

Police say when officers approached the truck and found Roberts and Douglas, they also found a 4-year-old child in the front seat.

After officers found the child, according to an arrest report, they called dispatched and were told the temperature was 91 degrees with a heat index of 98. Officers say the window of the front seat was half way down, and the child was crying and sweating profusely.

When officers opened the door to the truck Roberts was "pulling his pants up" and threw a crack pipe to the rear of the truck, according to an arrest report.

Roberts and Douglas were arrested Sept. 10. They're charged with prostitution, wanton endangerment, plus several other charges.

Copyright 2013 WDRB News. All rights reserved.