Ed. Note: This story has been updated with more information from the incident report including the victim’s statement on the motive. The details of the crash were initially incorrect and have been changed to reflect the information in the incident report.

PANAMA CITY BEACH, Fla. (WMBB) — A Sylacauga, Ala., the teenager said he shot a man when he got into a truck for an online date and discovered that the driver was a man and not a woman.

Marques Player, 19, was meeting his date in the parking lot of a Front Beach Road motel at about 3:30 a.m. Sunday after arranging the encounter through Tagged, an online dating app, and Snapchat, according to court records.

Player told investigators that after hopping into the truck and seeing that his date was a man “became frightened and fired his weapon as a reaction.” He shot the man in the stomach, records state.

After shooting the man Player went to the room of 23-year-old Tadarius Dale, told him what happened, and said they needed to leave, court records state. The two men then drove away from the scene.

Meanwhile, the shooting victim crashed his truck into another vehicle which then hit the motel.

Player is charged with aggravated battery with a firearm. Dale is charged with accessory to aggravated battery with a firearm.

In a news release, Bay County Sheriff’s officials said the victim’s injuries were serious but not life-threatening. They added that the motive behind the shooting was still under investigation. In the court report the victim states the shooting happened over money.