This church is located on a rocky hill next to Lanhoso castle near Braga, Portugal.