['I recently was in a situation at work where I had a colleague take credit for months of my work, and go out of their way to tell my boss and others in a committee that I actually held the team back.', "Ugh I hate crap like that.  Why can't credit be shared?  Does it always have to be so cutthroat?", "Honestly, I'm indifferent as to how it's shared. Later, my boss actually sat me down and told me they knew my colleague was out of line. Ironically, their contract with our company was up two weeks later and they weren't renewed."]
Well All's well that ends well.  I'm sure glad they were able to see through such a cheap ploy.
A colleague at my job took credit for months of my work and claimed I was of no help to them. It all worked out as it should have in the end, but that's never an easy situation.