Iran has released nine out of 12 Indians who were on board the ship MT Riah that was detained in early July, official sources said Thursday. However, 21 Indians are still in detention in Iran -- three from MT Riah and 18 from British oil tanker Stena Impero which was seized last week by the Iranian Revolutionary Guard in the Strait of Hormuz for alleged violation of international maritime rules.