AUBURN, Ala. — Three young men, two of them with ties to Auburn University’s football team, were killed and three others were wounded during a pool party on Saturday night at an apartment complex near the campus here.

Several law enforcement agencies were searching in Montgomery on Sunday for the man they suspected of firing the fatal shots, which were aimed at a few men at the party.

The suspect, whom the police identified as Desmonte D. Leonard, 22, of Montgomery, apparently had no connection to the university, officials said. He has been charged with three counts of capital murder. Court records show that he has a history of gun violence.

The police found his abandoned car near the scene of the shooting, which occurred at the University Heights apartment complex, but would not say how he made it to Montgomery, which is about an hour away.