What is the capital of Spain and what is it's population?

The capital of Spain is Madrid and it has approximately 3.4 million people