Ajman Castle (Slovene: Ajmanov grad, German: Schloss Ehrenau 'Ehrenau Castle') is a 17th-century manor located near the settlement of Sveti Duh in the Municipality of Škofja Loka, Slovenia.
Successive owners included the noble families of Angerburg, Widmannsstätten, Dietrich, Zanetti, Flachenfeld, and Dienzl.
[2] The manorial chapel of the Holy Virgin was built in 1733 and contains an altar-wall mural by Franc Jelovšek, one of the more prominent Slovene painters of the eighteenth century.
Commissioned between 1739 and 1746 by its owner Kristof Laurenz von Flachenfeld, the painting features the Virgin flanked by St. John Nepomuk and St. Francis Xavier.
In 1918 it passed into the hands of Marija Guzelj (née Detela), and then to the Demšar family, which held it until World War II.