When King David came to Bahurim, a man who was a distant cousin of Saul came out cursing. His name was Shimei, son of Gera.