With rebels closing in on the capital Mogadishu, Somalia has legalized opposition parties and ended 17 years of one-party rule.

Interior Minister Abdikassim Salad Hassan said Monday a new law taking immediate effect would allow political parties to contest a general election early in 1991.The move followed renewed heavy fighting on the outskirts of Mogadishu Sunday between government troops and armed rebels.