LONDON, June 7 (Reuters) - Seven people have been killed in an attack at the Iranian parliament on Wednesday and four have been taken hostage on the upper floors of the building, the semi-official Tasnim news agency quoted sources on the ground as saying.

But it added that this information had not been confirmed by security sources.

Tasnim also reported that the Revolutionary Guards' hostage rescue team killed one of the attackers in parliament.

(Reporting by Bozorgmehr Sharafedin; Editing by Hugh Lawson) ((bozorgmehr.sharafedin@thomsonreuters.com;))