Before the era of man, the mainland between the Bay of Koper and the Gulf of Milje was covered by forest, while only the steep flysch cliffs and the seashore were bare.