Why was Louis xiv know as the sun king?

because he gave that name to himself, and he saw himself as the centre of France life and culture.