Thousands attended the funeral procession