Which entries properly closes a temporary account?

Debit Dividends; credit Retained earnings;
Debit Income Summary;credit Rent Expense;
Debit Accumulated Depreciation; debit Income Summary; or
Debit Income Summary; credit Service Revenue