Leaders of Germany, Spain pledge united front on migration

Spain's Prime Minister Pedro Sanchez, right, speaks with German Chancellor Angela Merkel at the Guzmanes Palace in Sanlucar de Barrameda, southern Spa

Spain's Prime Minister Pedro Sanchez, right, speaks with German Chancellor Angela Merkel at the Guzmanes Palace in Sanlucar de Barrameda, southern Spa

Spanish Prime Minister Pedro Sanchez, right, speaks during a joint news conference with German Chancellor Angela Merkel at the Guzmanes Palace in Sanl

Spanish Prime Minister Pedro Sanchez, right, speaks during a joint news conference with German Chancellor Angela Merkel at the Guzmanes Palace in Sanl

German Chancellor Angela Merkel, left and Spanish Prime Minister Pedro Sanchez begin a joint news conference at the Guzmanes Palace in Sanlucar de Bar

German Chancellor Angela Merkel, left and Spanish Prime Minister Pedro Sanchez begin a joint news conference at the Guzmanes Palace in Sanlucar de Bar

German Chancellor Angela Merkel, left, speaks during a joint news conference with Spanish Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlu

German Chancellor Angela Merkel, left, speaks during a joint news conference with Spanish Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlu

German Chancellor Angela Merkel, left, speaks with Spain's Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlucar de Barrameda, southern Spai

German Chancellor Angela Merkel, left, speaks with Spain's Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlucar de Barrameda, southern Spai

German Chancellor Angela Merkel arrives to meet Spain's Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlucar de Barrameda, southern Spain,

German Chancellor Angela Merkel arrives to meet Spain's Prime Minister Pedro Sanchez at the Guzmanes Palace in Sanlucar de Barrameda, southern Spain,

Spain's Prime Minister Pedro Sanchez, right, speaks with German Chancellor Angela Merkel at the Guzmanes Palace in Sanlucar de Barrameda, southern Spa

Spain's Prime Minister Pedro Sanchez, right, speaks with German Chancellor Angela Merkel at the Guzmanes Palace in Sanlucar de Barrameda, southern Spa

BARCELONA, Spain (AP) — The leaders of Germany and Spain are bolstering a shared approach to immigration into the European Union amid growing populist opposition to taking in more asylum-seekers.

German Chancellor Angela Merkel and Spanish Prime Minister Pedro Sanchez, meeting Saturday at a country estate in Andalusia, advocated a "fair distribution" of migrants. They said they will promote their common vision at an EU summit next month in Austria.

The two leaders had previously agreed to a deal in which Spain will take back migrants already registered there who try to enter Germany through Austria. That agreement took effect Saturday.

Merkel has been seeking bilateral agreements with Spain, Greece and Italy to stop "secondary" migration to Germany, an issue that nearly took down her government. Negotiations with Greece and Italy are ongoing.