Court records say that the suspect had been involved in a “love triangle” between himself, the victim, and a pregnant woman.