Ayaş Ağa, chief gatekeeper (kapı ağası) to Bayezid II, built this complex in Amasya in 1495: a mosque, a medrese, a primary school and a burial enclosure. It is called the Şamlar Mosque after the quarter it stands in and the Ayaş Ağa Mosque after the man who paid for it, and the complex is also known as Küçük Ağa.
The mosque is square with a single dome and walls of rubble stone. On the north there is a three-part porch; the middle section, narrower than those on either side and covered by a mirror vault, is the entrance. Two rows of pointed-arched windows light the interior. The minaret sits on a hexagonal base, with a brick shaft and a stone balcony; the base is known to be original, the shaft and the balcony were made later.
The medrese consists of rooms enclosing the courtyard north of the mosque on three sides, in the U-shaped plan of the classical Ottoman complex. Along the sides, thirteen domes rest on twelve cylindrical columns with plain capitals, tied to one another by round brick arches, and the students' rooms run behind these arcades; each has a hearth and a cupboard. There is no lecture hall. At the east end, past the last of the students' rooms, a slightly wider section is the primary school, used today as a library.
The burial enclosure in the mosque garden holds eight graves, plainly worked and mostly damaged by time. They carry no inscriptions; some are decorated with geometric patterns, flowers and sword figures.
When to go
- Climate
- Across Amasya as a whole, monthly mean temperatures run from 2.7 °C in January to 23.9 °C in August; the mean stays between 15 and 25 °C in May, June, July, August and September; rainfall is heaviest in May (55 mm) and lightest in August (10 mm). Long-term means for 1961-2025 from the Turkish State Meteorological Service (MGM).
Getting there
- Access
- In the Şamlar neighbourhood of the centre, within walking distance.






