A New York congressman abruptly resigned his seat Wednesday, saying he was quitting because he regretted actions that have hurt his family and others.