Undercover FBI employees won and lost thousands of dollars in federal funds betting on University of Oklahoma football games and other sporting events, records show.

The FBI used undercover employees to identify suspected bookies in Oklahoma and to gather evidence about a gambling website during a lengthy investigation.

The inquiry was known at one point as “Operation Bad Luck.”

Undercover employees would meet with bookie suspects at Oklahoma bingo halls, a doughnut shop, parking lots and restaurants to pay up or get paid, the records show.