Disclosed are compounds of Formula (I) or a salt thereof, wherein R1 is (II) or (III); each W is independently NR1b or O; Z is a bond or CHR1d; and R1, R2, Rd, R3, L1, L2, R1a, R1b, R1c, and n are define herein. Also disclosed are methods of using such compounds as inhibitors of ROMK, and pharmaceutical compositions comprising such compounds. These compounds are useful in treating cardiovascular diseases.