NEW YORK -- Miami Marlins pitcher Jarred Cosart has been fined by Major League Baseball for placing illegal bets, but the sport said it found no evidence he bet on baseball.

Marlins pitcher Jarred Cosart was fined by MLB for placing bets on sports other than baseball. Rob Foldy/Getty Images

The 24-year-old deleted his Twitter account last week after screen shots of comments he purportedly made appeared on the website of Miami New Times.

"Major League Baseball has completed its investigation into Jarred Cosart's possible connection to sports-related gambling," the commissioner's office said in a statement Friday. "The investigation did not reveal any evidence to suggest that Cosart, who fully cooperated with the investigation, bet on baseball."

MLB said Cosart was fined for violating a rule that "prohibits players from placing bets with illegal bookmakers or agents for illegal book makers. This rule is strictly enforced and applies to gambling with illegal bookmakers on any sport or event."

The amount of the fine and the details of the rules violation were not announced.

Cosart said in a statement issued by the players' association that "I have never, nor would I ever, bet on" baseball.

"I'm sorry for any distractions this may have caused the Marlins, my teammates, coaches, and our incredible fans," Cosart said. "I'm glad to bring closure to this situation before Opening Day."