Which ruler was the Philippines named after?

King Philip the Second of Spain - The Spanish arrived in Cebu with 500 armed soldiers in 1565 and claimed the country in the name of Spain, remaining there until 1898. As a result, the Philippines has had a significant influence, as evidenced by its religion, culture, and so on. Many of the surnames are Spanish in origin.