ROYAL PALM BEACH, Fla. (CBS Miami) — Do you want fries with that? How about an alligator?

A customer at a Wendy’s drive-thru allegedly threw a three-and-a-half foot alligator into the window at one of the restaurant’s Florida locations, according to police.

READ MORE: BSO Searching For Tamarac Burglar Claiming To Be Deputy

Joshua James, 23, of Jupiter, Florida allegedly pulled up to the drive-thru for his order, got a drink and then threw the alligator into the Royal Palm Beach restaurant the Florida Fish and Wildlife Conservation Commission told WPTV.

Police said James admitted to picking up the gator on the side off the side of the road and bringing it to the restaurant.

READ MORE: Special City Of Miami Commission Meeting Held To Discuss Future Of Chief Art Acevedo

“It was just a stupid prank that he did that’s now turning into this. He’s a prankster. He does stuff like this because he thinks it’s funny,” his mother, Linda James, told WPTV.

Joshua James was charged with aggravated assault and unlawful possession and transportation of an alligator.

The incident happened back in October, but James was recently taken into custody by U.S. marshals.

MORE NEWS: Sheriff: Person Of Interest In 19-Year-Old Miya Marcano's Disappearance Found Dead

As for the alligator? The animal was released into a nearby canal.