Iranian Rock Musician Said to Kill 3 in Brooklyn An Iranian rock musician fatally shot three people, including two members of a rock band of Iranian expatriates, in a townhouse in East Williamsburg, Brooklyn, early on Monday, the police said. The gunman then killed himself, the police said. Two of the victims were brothers and members of the Yellow Dogs, a group that got its start in Tehran, rehearsing in a makeshift soundproof studio and organizing clandestine concerts to avoid punishment by Iranian authorities. The third victim was another Iranian-American musician, Ali Eskandarian, according to the band's manager. The assailant, identified by the police as Ali Akbar Mohammadi Rafie, 29, of Ridgewood, Queens, had belonged to another Iranian band, the Free Keys, which had also been part of the music subculture in Tehran. The Yellow Dogs" manager, Ali Salehezadeh, said that members of the two bands had been "acquaintances in the past," but that a "personal conflict between the guys resulted in the dissolution of their relationship in 2012." Mr. Rafie was no longer a member of the Free Keys at the time of the shooting. He appeared to gain access to the three-story building, at 318 Maujer Street, from the roof, Raymond W. Kelly, the police commissioner, said on Monday. Mr. Rafie then proceeded down into the building, shooting his victims on the second and third floors. After the shootings, he returned to the roof, where he shot himself in the head with the gun, which the police said appeared to be an assault rifle. A fourth victim, 22, was taken to Elmhurst Hospital Center with a gunshot wound to the right arm, the police said. The wounded man, who was not believed to be a band member, was identified in reports as Sasan Sadeghpourosko; hospital officials said Mr. Sadeghpourosko was treated, and then released just before 7 a.m. Mr. Kelly said the shootings stemmed from "a dispute over money involving an indie rock band." At least two other people were in the home during the shooting and were being interviewed on Monday morning by detectives. It was not clear if the gunman spoke during the shooting. A law enforcement official said that two of the shooting victims were brothers; Mr. Salehezadeh, the Yellow Dogs" manager, confirmed that Soroush Farazmand, a guitarist, and Arash Farazmand, the drummer, had been killed. At least three of the band members were originally from Tehran. In a video interview last year, the bassist, identified only as Koory, said, "We were super lucky we didn't get caught." The men described in the video the long process of seeking asylum in the United States and then finding themselves playing at prominent rock venues around New York, including Webster Hall, as well as at the South by Southwest music festival in Austin, Tex. "We can't go back to Iran," the singer, known as Obash, said. Our parents, they have never seen us play. Members of the group received asylum last year. Another of the band's guitarists, Siavash Karampour, was not involved in the shooting, according to the owner of a lounge in Morningside Heights in Manhattan, where Mr. Karampour tended bar on Sunday night. Mr. Karampour told the owner that he had spent most of the night being questioned by the police before being released. Adam Geringer-Dunn, who books bands at Brooklyn Bowl, a popular venue in Williamsburg, said the Yellow Dogs were one of his best acts, and performed there regularly. They last played at Brooklyn Bowl on Oct. 23. "You could count on them to consistently put on a great show and bring people out," he said. They were a great band that had been grinding away in New York City for years. Martin Greenman, 63, a recycler who works a few doors away from the apartment, said, "They were always together and they were always friendly." "They looked like rockers," he said. Their Twitter profile calls them "a post punk/dance punk band from Tehran/Iran, living in Brooklyn at the moment." Marcus Durant, 56, an electrician who lives just a few doors down from the band on a block of residential and industrial buildings, said he would sit on his porch, sip beer and listen to the music coming from their building. "They're always playing music," he said. I sit outside and listen to them. Pretty good stuff. He described the ethnic mix of young people who frequented the building as a "hodgepodge." He added that he was friendly with the band. "They were a bunch of good kids," he said. You see them on their little skateboards in their tight pants. The men were known on their block for their long hair and tight jeans and were often seen lugging their instruments, the very picture of a young and aspiring band in an area of the city teeming with them. They sang, partied, ate meals and skateboarded together, neighbors said. Mr. Durant said he heard around five gunshots on Monday morning just after midnight. "I heard a few things popping," he said. I thought it was fireworks. In the video interview, Obash said the band had made an easy transition to living in New York. "You don't feel like a foreigner in New York City at all," he said. Right now, we appreciate everything. Reporting was contributed by Matt Flegenheimer and Sarah Nir.