Gentleman and a scholar?

To those with more brain power (and free time) than myself…

Today at work a friend said that I was a gentleman. Out of almost pure habit I immediately tacked on, “…and a scholar.”

Hours of search engine pounding later and neither of us can figure out where the “gentleman and a scholar” phrase came from. I’m afraid that WAY too many sites have the phrase contained within their pages.

Anyone know who said/wrote this first? Anyone know who that person was referring to?

Any help would be great.

Och aye.

The quotation comes from Robert Burns, a Scottish poet who lived from 1759-1796.
Acccording to Bartlett’s Quotations, the attribution is from The Twa Dogs; which contains the lines

And a pointer to The Official Robert Burns Web Site

[awful joke hijack]
Tony Blair is being shown around a hospital. He comes to a ward full of people who seem to have nothing wrong with them.

He goes to the first bed and says “Well, how are you.” The patient looks him straight in the eye and says “The best laid schemes of mice and men gang aft agley!”.

Tony smiles politely, and walks to the next bed, where the patient greets him with a hearty “Och, wad the gods the giftie gie us, to see ourselves as others see us.”

Slightly confused, Tony tries to strike up a conversation with yet another inmate, but this one just mutters “Och, my luv’s like a red, red, rose that’s newly sprung in June” repeatedly.

“Is this the psychiatric ward?” says Tony.

“No,” the ward sister replies. “It’s the Burns Unit.”

[/awful joke hijack] I’ll get my coat…

Thanks a ton for the help!