Tunisia's Islamist Prime Minister Ali Laarayedh has announced his resignation to make way for a transitional government under a plan to end a months-long political crisis, dpa reported.