FNIDEQ, Morocco – When King Mohammed VI of Morocco addressed his people Wednesday to commemorate his 27th year on the throne, he spoke hopefully of his North African nation’s future.

Morocco, he said, was safe and stable, with a growing economy making great strides in tourism, investment and manufacturing.

“This is a pivotal moment in our nation’s development,” the 62-year-old monarch said. “A time when confidence and optimism should prevail over despair and frustration.”

Over the next two days, however, tens of thousands of his citizens tried to escape the country. Driven by a bleak sense of their prospects in Morocco, they braved confrontations with the police and dangerous swims in the sea to reach the Spanish territory of Ceuta, hoping for better lives.

“I tried to work and have a job and make a living, but there is nothing for me here,” said Mohammed Kinani, a 21-year-old construction worker, who had been forced back to Morocco. “If I don’t leave this country, there is nothing that will save me.”