Long story short: I've been working in this position for a couple of years with a colleague at the same level as me. We both lead a few product team giving them advice on technical implementation, best practices and architecture. I've been doing a lot of work to clean up the debt that was accumulated and, meanwhile, I improved the reliability and the efficiency of the infrastructure. I wrote common components and library to avoid duplication and shared it with wiki pages on how to implement certain things correctly. On the other hands, my colleague, is more focus on building relationships and acting like he's the manager even tho he's not. In a couple of circumstances he event tried to give me orders which is not what he supposed to do. In meetings with our manager he brag on stuff that I did sharing it as a "we did", while when he does something alone (which most of the time asks to me as well) he would say "I did". Most of the team members know it as they always asks technical informations to me. Most of the new architectural design has been done by myself same as the library that they use daily bases. This kind of behaviour was ok at the beginning but since our boss left and he got promoted as manager is not sustainable anymore. So here I'm asking for some advice. I started to look for a new job already, other than that I can't find a way to make my life easier has it might required some time (European market is not that good) and I got a break to travel a bit and clean up my mind.