BROOKLYN - A musician shot and killed two members of a local band and a third solo artist in an East Williamsburg home Monday before taking his own life.

A fourth musician, Sasan Sadeghpouroskou, was wounded in the arm during the shooting, which unfolded just after midnight at 318 Maujer St. That victim is now being treated at a hospital, and is expected to be OK.

The suspect has been identified as Ali Akbar Mahammadi Rafie, 29, of Queens. The victims have been identified as Ali Eskandarian, 35, and brothers Arash Farazmand, 28, and Soroush Farazmand, 27.

Investigators have not yet confirmed what led to the violence, but say the two brothers were members of the Iranian indie rock band, Yellow Dogs.

Police say the 29-year-old was kicked out of his band, the Free Keys, and believe he may have lashed out because of a dispute over money.

The victims were all found on the second and third floors of the house, while the alleged shooter was discovered on the roof.

News 12 was told that the Iranian band was seeking political asylum from Iran.

The Yellow Dogs performed at the Cameo Gallery in Williamsburg just two weeks ago. A third member of the Yellow Dogs was working the door of the venue at the time of the shooting.

Reports say the shooter knew the victims but had not spoken to them for several months due to a past conflict.