Madonna dated Tupac.

The 56-year-old singer has revealed she enjoyed a short-lived relationship with the late 'Ghetto Gospel' rapper in 1994 - two years before he was shot and killed - who she claims got her ''all riled up'' and ''feeling very gangsta''.

Referring to a specific interview she did with chat show host David Letterman, she told SiriusXM's Howard Stern: ''I was mad at [David] when I said the F-word a lot. I was in a weird mood that day. I was dating Tupac Shakur at the time and the thing is he got me all riled up about life in general.

''So when I went on the show I was feeling very gangsta.''

Speculation about a supposed relationship between the pair has been rife for years, although the 'Living For Love' hitmaker had not previously confirmed they dated.

Meanwhile, Madonna, who is currently single but counts directors Sean Penn and Guy Ritchie as her ex-husbands, recently revealed she would ''never say never'' to getting married again, admitting she doesn't like to set boundaries for herself.

She told The Sun newspaper: ''Would I ever consider getting married again? Maybe. Never say never.

''I don't have any limitations for myself in terms of relationships.''