'He helped build the foundations': Former mayor farewelled