Why did Martin Luther criticize the Roman Catholic Church?

It was in favor of sola scriptura.
It was encouraging science.
It was using indulgences for financial benefits.
It condemned corruption.