Tried to raise to management and/or team lead. It's really their job to handle a$$holes (not to mention to not hire them in the first place).
But, most of the times they either didn't care or were spineless so next up is moving away either to a different role or team or department or a company. Every place has a$$holes but some places have a culture in place that does not allow them to go unchecked.
PS: Is him ex-FAANG? Usually it were such people for me.