Jennifer Lopez and Casper Smart split

Jennifer Lopez and her boyfriend of over two years Casper Smart have ended their relationship.

The news follows reports that they were on the rocks as the couple have recently hit the headlines amid allegations that Casper has been sending messages and photos to a transsexual bikini model.

Jennifer Lopez and Casper Smart

A source told People magazine: “They initially split about six weeks ago, but that can take a little time to extricate. But they”ve definitely broken up.”

The source added: “The relationship had just run its course.”

People had previously reported that the 44-year-old American Idol judge and Casper, 27, had “hit a rough patch” a few months ago.

“Now, all this stuff comes out… They”re still together, technically, but no idea for how long.” said the source on Thursday.