On the afternoon of 18 March, following the government's failed attempt to seize the cannons at Montmartre, the Central Committee of the National Guard ordered the three battalions to seize the Hôtel de Ville, where they believed the government was located. They were not aware that Thiers, the government, and the military commanders were at the Ministry of Foreign Affairs, where the gates were open and there were few guards. They were also unaware that Marshal Patrice MacMahon, the future commander of the forces against the Commune, had just arrived at his home in Paris, having just been released from imprisonment in Germany. As soon as he heard the news of the uprising, he made his way to the railway station, where national guardsmen were already stopping and checking the identity of departing passengers. A sympathetic station manager hid him in his office and helped him board a train, and he escaped the city. While he was at the railway station, national guardsmen sent by the Central Committee arrived at his house looking for him.